Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Mostar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.RaPIdExperiments.Mostar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Mostar") translateModel(OpenIPSL.Examples.RaPIdExperiments.Mostar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Mostar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009569/0.0009568, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205.3 MB / 213.4 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000755/0.000755, allocations: 93.55 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06732/0.06732, allocations: 12.59 MB / 321.9 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.283/0.283, allocations: 78.07 MB / 450.8 MB, free: 3.016 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.227e-05/1.228e-05, allocations: 4 kB / 0.5147 GB, free: 29.6 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1051, allocations: 69.32 MB / 0.5824 GB, free: 8.387 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3669/0.472, allocations: 107.8 MB / 0.6877 GB, free: 244 kB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001832/0.4722, allocations: 74.27 kB / 0.6878 GB, free: 208 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09586/0.5681, allocations: 38.25 MB / 0.7251 GB, free: 1.164 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5682, allocations: 4 kB / 0.7251 GB, free: 1.16 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001046/0.5683, allocations: 32 kB / 0.7252 GB, free: 1.129 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003483/0.5718, allocations: 1.724 MB / 0.7268 GB, free: 15.46 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.5718, allocations: 8.031 kB / 0.7269 GB, free: 15.45 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009291/0.5728, allocations: 278.4 kB / 0.7271 GB, free: 15.19 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/0.5743, allocations: 1.061 MB / 0.7282 GB, free: 14.35 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002255/0.5745, allocations: 168.4 kB / 0.7283 GB, free: 14.16 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.5747, allocations: 64 kB / 0.7284 GB, free: 14.1 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001374/0.576, allocations: 0.8465 MB / 0.7292 GB, free: 13.6 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.5776, allocations: 1.025 MB / 0.7302 GB, free: 12.81 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.5777, allocations: 4 kB / 0.7302 GB, free: 12.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-05/0.5778, allocations: 0 / 0.7302 GB, free: 12.8 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.5778, allocations: 24 kB / 0.7302 GB, free: 12.78 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006925/0.5847, allocations: 5.012 MB / 0.7351 GB, free: 8.797 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007044/0.5918, allocations: 2.644 MB / 0.7377 GB, free: 6.414 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006378/0.5924, allocations: 439.6 kB / 0.7381 GB, free: 6.176 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.136e-05/0.5925, allocations: 19.92 kB / 0.7381 GB, free: 6.16 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008452/0.5934, allocations: 0.5688 MB / 0.7387 GB, free: 5.762 MB / 474.7 MB Notification: Performance of pre-optimization done (n=101): time 2.896e-06/0.5934, allocations: 0 / 0.7387 GB, free: 5.762 MB / 474.7 MB Notification: Performance of matching and sorting (n=101): time 0.004242/0.5976, allocations: 1.601 MB / 0.7403 GB, free: 4.488 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.5978, allocations: 274 kB / 0.7405 GB, free: 4.16 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.5992, allocations: 1.032 MB / 0.7415 GB, free: 3.422 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001065/0.5994, allocations: 25.7 kB / 0.7416 GB, free: 3.391 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000501/0.5999, allocations: 0.6748 MB / 0.7422 GB, free: 2.766 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000321/0.6002, allocations: 362.7 kB / 0.7426 GB, free: 2.406 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.268e-05/0.6003, allocations: 0 / 0.7426 GB, free: 2.406 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.6004, allocations: 349.9 kB / 0.7429 GB, free: 2.059 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006566/0.6011, allocations: 410.6 kB / 0.7433 GB, free: 1.66 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008105/0.6019, allocations: 0.6331 MB / 0.7439 GB, free: 0.9531 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008061/0.6027, allocations: 474.2 kB / 0.7444 GB, free: 0.4961 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.6027, allocations: 0 / 0.7444 GB, free: 0.4961 MB / 474.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.005042/0.6078, allocations: 2.243 MB / 0.7465 GB, free: 14.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005595/0.6083, allocations: 1.522 MB / 0.748 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.6083, allocations: 11.92 kB / 0.748 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004408/0.6128, allocations: 1.369 MB / 0.7494 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005327/0.6133, allocations: 147.8 kB / 0.7495 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005113/0.6184, allocations: 4.381 MB / 0.7538 GB, free: 6.559 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/0.6201, allocations: 179 kB / 0.754 GB, free: 6.383 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001794/0.6203, allocations: 56.17 kB / 0.754 GB, free: 6.328 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.6204, allocations: 9.359 kB / 0.754 GB, free: 6.32 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004063/0.6244, allocations: 1.747 MB / 0.7557 GB, free: 4.555 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.6244, allocations: 8.375 kB / 0.7558 GB, free: 4.547 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004167/0.6286, allocations: 1.267 MB / 0.757 GB, free: 3.262 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005348/0.6292, allocations: 143.8 kB / 0.7571 GB, free: 3.121 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006613/0.6358, allocations: 7.389 MB / 0.7643 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.6371, allocations: 135.1 kB / 0.7645 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.436e-05/0.6372, allocations: 43.98 kB / 0.7645 GB, free: 11.07 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sT5B.imLimitedLeadLag.gain.y:VARIABLE() "Output signal connector" type: Real sT5B.K_r.y:VARIABLE() "Output signal connector" type: Real sT5B.VR0:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sT5B.imLimitedLeadLag5.integrator.local_reset,sT5B.imLimitedLeadLag4.integrator.local_reset,sT5B.imLimitedLeadLag3.integrator.local_reset,sT5B.imLimitedLeadLag1.integrator.local_reset,sT5B.imLimitedLeadLag2.integrator.local_reset,sT5B.imLimitedLeadLag.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 4,1 4,1 4,1 4,10 52} Notification: Performance of prepare postOptimizeDAE: time 0.000331/0.6375, allocations: 126.7 kB / 0.7646 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003247/0.6379, allocations: 154.1 kB / 0.7648 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004088/0.642, allocations: 1.647 MB / 0.7664 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.642, allocations: 12 kB / 0.7664 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/0.642, allocations: 4 kB / 0.7664 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.642, allocations: 3.984 kB / 0.7664 GB, free: 9.105 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006178/0.6482, allocations: 3.325 MB / 0.7697 GB, free: 5.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.6482, allocations: 0 / 0.7697 GB, free: 5.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00093/0.6492, allocations: 199.8 kB / 0.7698 GB, free: 5.484 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001689/0.6509, allocations: 496.4 kB / 0.7703 GB, free: 4.996 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-05/0.651, allocations: 11.95 kB / 0.7703 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004798/0.6558, allocations: 2.993 MB / 0.7733 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.6558, allocations: 0 / 0.7733 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004925/0.6607, allocations: 2.303 MB / 0.7755 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004582/0.6612, allocations: 250.9 kB / 0.7757 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002619/0.6615, allocations: 4 kB / 0.7757 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.6626, allocations: 115.9 kB / 0.7759 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002645/0.6629, allocations: 125.1 kB / 0.776 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.717e-05/0.6629, allocations: 32 kB / 0.776 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001165/0.6641, allocations: 0.7745 MB / 0.7768 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6641, allocations: 0 / 0.7768 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00168/0.6658, allocations: 0.5494 MB / 0.7773 GB, free: 13.67 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,sT5B.imLimitedLeadLag.integrator.y,sT5B.imLimitedLeadLag2.integrator.y,sT5B.imLimitedLeadLag1.integrator.y,sT5B.imLimitedLeadLag3.integrator.y,sT5B.imLimitedLeadLag4.integrator.y,sT5B.imLimitedLeadLag5.integrator.y,sT5B.simpleLagLimVar.state,sT5B.TransducerDelay.state) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.000304/0.6661, allocations: 168.1 kB / 0.7775 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006561/0.6727, allocations: 3.063 MB / 0.7804 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.6727, allocations: 4 kB / 0.7805 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001618/0.6743, allocations: 0.8714 MB / 0.7813 GB, free: 9.449 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008798/0.6752, allocations: 149.1 kB / 0.7814 GB, free: 9.305 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003861/0.6791, allocations: 2.138 MB / 0.7835 GB, free: 7.125 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008511/0.68, allocations: 1.24 MB / 0.7847 GB, free: 5.852 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00105/0.681, allocations: 221 kB / 0.785 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000215/0.6812, allocations: 71.42 kB / 0.785 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of SimCode: time 4.71e-07/0.6813, allocations: 0 / 0.785 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of Templates: time 0.0382/0.7195, allocations: 24.15 MB / 0.8086 GB, free: 13.46 MB / 0.5417 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Mostar.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Mostar.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Mostar -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe 2>&1)