Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.conf.json 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/ModelicaServices 4.0.0+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/Complex 4.0.0+maint.om/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0802/0.0802, allocations: 12.59 MB / 28.22 MB, free: 0.7695 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 115.4 kB / 31.84 MB, free: 3.891 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.1 MB / 240.4 MB, free: 12.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 184.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4315/0.4315, allocations: 78.51 MB / 419.3 MB, free: 11.28 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002769/0.002769, allocations: 142.2 kB / 0.5558 GB, free: 28.48 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1206, allocations: 68.12 MB / 0.6224 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.007339/0.128, allocations: 7.004 MB / 0.6292 GB, free: 8.422 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004324/0.1324, allocations: 2.259 MB / 0.6314 GB, free: 6.156 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000912/0.1333, allocations: 12 kB / 0.6314 GB, free: 6.145 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007896/0.1341, allocations: 257.8 kB / 0.6317 GB, free: 5.891 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003431/0.1376, allocations: 1.283 MB / 0.6329 GB, free: 4.613 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.1387, allocations: 0.4989 MB / 0.6334 GB, free: 4.117 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002485/0.1412, allocations: 2.019 MB / 0.6354 GB, free: 2.094 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005155/0.1418, allocations: 256.8 kB / 0.6356 GB, free: 1.828 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001185/0.1429, allocations: 0.7822 MB / 0.6364 GB, free: 1.043 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001532/0.1445, allocations: 1.035 MB / 0.6374 GB, free: 4 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005982/0.1451, allocations: 156 kB / 0.6375 GB, free: 15.85 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009713/0.1461, allocations: 335.8 kB / 0.6379 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005793/0.1467, allocations: 406.5 kB / 0.6382 GB, free: 15.12 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001261/0.1479, allocations: 0.777 MB / 0.639 GB, free: 14.34 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002087/0.15, allocations: 1.892 MB / 0.6409 GB, free: 12.45 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.1501, allocations: 0 / 0.6409 GB, free: 12.45 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1501, allocations: 3.938 kB / 0.6409 GB, free: 12.44 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.746e-05/0.1501, allocations: 0 / 0.6409 GB, free: 12.44 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.01634/0.1664, allocations: 3.902 MB / 0.6447 GB, free: 8.48 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.1665, allocations: 11.98 kB / 0.6447 GB, free: 8.469 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003454/0.17, allocations: 0.5142 MB / 0.6452 GB, free: 7.953 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/0.1718, allocations: 0.9778 MB / 0.6461 GB, free: 6.922 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002949/0.1721, allocations: 234.9 kB / 0.6464 GB, free: 6.66 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002103/0.1724, allocations: 88 kB / 0.6464 GB, free: 6.574 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002218/0.1746, allocations: 0.9833 MB / 0.6474 GB, free: 5.586 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.1746, allocations: 0 / 0.6474 GB, free: 5.586 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.133e-05/0.1747, allocations: 28 kB / 0.6474 GB, free: 5.559 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.1747, allocations: 16 kB / 0.6474 GB, free: 5.543 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002612/0.1774, allocations: 1.093 MB / 0.6485 GB, free: 4.449 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.006371/0.1837, allocations: 3.731 MB / 0.6522 GB, free: 0.543 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003264/0.187, allocations: 1.662 MB / 0.6538 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001546/0.1886, allocations: 0.7236 MB / 0.6545 GB, free: 14.04 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.806e-05/0.1887, allocations: 24.97 kB / 0.6545 GB, free: 14.02 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.1887, allocations: 39.56 kB / 0.6545 GB, free: 13.96 MB / 478.1 MB Notification: Performance of pre-optimization done (n=103): time 3.256e-06/0.1887, allocations: 0 / 0.6545 GB, free: 13.96 MB / 478.1 MB Notification: Performance of matching and sorting (n=103): time 0.02289/0.2116, allocations: 5.592 MB / 0.66 GB, free: 8.34 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.2117, allocations: 60.41 kB / 0.6601 GB, free: 8.27 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001984/0.2137, allocations: 1.287 MB / 0.6613 GB, free: 6.973 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001901/0.2139, allocations: 49.7 kB / 0.6614 GB, free: 6.918 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003406/0.2143, allocations: 473.7 kB / 0.6618 GB, free: 6.449 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003907/0.2147, allocations: 394.5 kB / 0.6622 GB, free: 6.059 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006135/0.2153, allocations: 387.3 kB / 0.6626 GB, free: 5.672 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.635e-05/0.2154, allocations: 301.1 kB / 0.6629 GB, free: 5.375 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002078/0.2175, allocations: 0.9449 MB / 0.6638 GB, free: 4.426 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002183/0.2197, allocations: 1.113 MB / 0.6649 GB, free: 3.281 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00392/0.2236, allocations: 1.927 MB / 0.6667 GB, free: 1.332 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/0.2236, allocations: 11.92 kB / 0.6668 GB, free: 1.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.006743/0.2304, allocations: 3.036 MB / 0.6697 GB, free: 14.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.2304, allocations: 6.812 kB / 0.6697 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.2304, allocations: 4 kB / 0.6697 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009271/0.2397, allocations: 2.28 MB / 0.672 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001785/0.2415, allocations: 363.5 kB / 0.6723 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005482/0.247, allocations: 2.272 MB / 0.6745 GB, free: 9.324 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002205/0.2493, allocations: 222.3 kB / 0.6747 GB, free: 9.105 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001548/0.2494, allocations: 63.98 kB / 0.6748 GB, free: 9.043 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 203 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0005114/0.2499, allocations: 265.5 kB / 0.675 GB, free: 8.773 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002592/0.2502, allocations: 134.2 kB / 0.6752 GB, free: 8.641 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01149/0.2617, allocations: 3.353 MB / 0.6785 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.2618, allocations: 12 kB / 0.6785 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.2618, allocations: 0 / 0.6785 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.947e-05/0.2618, allocations: 3.984 kB / 0.6785 GB, free: 5.258 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01332/0.2751, allocations: 5.031 MB / 0.6834 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.2752, allocations: 0 / 0.6834 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008508/0.276, allocations: 127.9 kB / 0.6835 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005778/0.2818, allocations: 1.442 MB / 0.6849 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001414/0.282, allocations: 20 kB / 0.6849 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02064/0.3026, allocations: 7.832 MB / 0.6926 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3027, allocations: 0 / 0.6926 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01377/0.3165, allocations: 4.243 MB / 0.6967 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005257/0.317, allocations: 251.1 kB / 0.697 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000317/0.3174, allocations: 23.94 kB / 0.697 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/0.3189, allocations: 91.91 kB / 0.6971 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005682/0.3194, allocations: 180.7 kB / 0.6972 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.229e-05/0.3195, allocations: 24.11 kB / 0.6973 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00129/0.3208, allocations: 0.855 MB / 0.6981 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3208, allocations: 0 / 0.6981 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001431/0.3223, allocations: 479.8 kB / 0.6986 GB, free: 352 kB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(14,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003289/0.3226, allocations: 140 kB / 0.6987 GB, free: 200 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007588/0.3302, allocations: 2.465 MB / 0.7011 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3302, allocations: 0 / 0.7011 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004449/0.3347, allocations: 1.341 MB / 0.7024 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.3357, allocations: 112.7 kB / 0.7025 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00493/0.3407, allocations: 2.656 MB / 0.7051 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006105/0.3413, allocations: 1.112 MB / 0.7062 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005022/0.3418, allocations: 124.7 kB / 0.7063 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000371/0.3422, allocations: 83.42 kB / 0.7064 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of SimCode: time 5.11e-07/0.3422, allocations: 0 / 0.7064 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of Templates: time 0.2866/0.6288, allocations: 25.03 MB / 0.7308 GB, free: 81.41 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)