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.1158/0.1158, allocations: 12.6 MB / 28.1 MB, free: 256 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 107.5 kB / 31.7 MB, free: 3.492 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.669/1.669, allocations: 205.1 MB / 240.3 MB, free: 12.43 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.002902/0.002902, allocations: 188.5 kB / 290.5 MB, free: 11.04 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4571/0.4571, allocations: 78.5 MB / 419.1 MB, free: 10.83 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.002787/0.002787, allocations: 143.8 kB / 499.8 MB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3278, allocations: 68.12 MB / 0.5546 GB, free: 21.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.0059/0.3338, allocations: 6.982 MB / 0.5614 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004308/0.3382, allocations: 2.267 MB / 0.5636 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.3394, allocations: 8 kB / 0.5636 GB, free: 12.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006412/0.34, allocations: 265.8 kB / 0.5639 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00315/0.3432, allocations: 1.239 MB / 0.5651 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.3444, allocations: 0.501 MB / 0.5656 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003186/0.3475, allocations: 2.003 MB / 0.5675 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005489/0.3481, allocations: 263.2 kB / 0.5678 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001518/0.3496, allocations: 0.7745 MB / 0.5685 GB, free: 6.984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009031/0.3506, allocations: 1.035 MB / 0.5695 GB, free: 5.945 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001998/0.3508, allocations: 156 kB / 0.5697 GB, free: 5.793 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006473/0.3514, allocations: 323.8 kB / 0.57 GB, free: 5.477 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002432/0.3517, allocations: 414.4 kB / 0.5704 GB, free: 5.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005227/0.3522, allocations: 0.7732 MB / 0.5712 GB, free: 4.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002063/0.3543, allocations: 1.869 MB / 0.573 GB, free: 2.418 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/0.3543, allocations: 0 / 0.573 GB, free: 2.418 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3543, allocations: 0 / 0.573 GB, free: 2.418 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.358e-05/0.3544, allocations: 0 / 0.573 GB, free: 2.418 MB / 382.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.01509/0.3695, allocations: 3.898 MB / 0.5768 GB, free: 14.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.3695, allocations: 19.97 kB / 0.5768 GB, free: 14.44 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003113/0.3727, allocations: 0.5143 MB / 0.5773 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/0.3745, allocations: 0.9778 MB / 0.5783 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003202/0.3748, allocations: 234.9 kB / 0.5785 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.375, allocations: 91.94 kB / 0.5786 GB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002213/0.3773, allocations: 0.9794 MB / 0.5795 GB, free: 11.56 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.3773, allocations: 3.938 kB / 0.5795 GB, free: 11.56 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.466e-05/0.3774, allocations: 32 kB / 0.5796 GB, free: 11.53 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.3774, allocations: 16 kB / 0.5796 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002534/0.38, allocations: 1.089 MB / 0.5806 GB, free: 10.42 MB / 398.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.006696/0.3867, allocations: 3.75 MB / 0.5843 GB, free: 6.492 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003185/0.3899, allocations: 1.67 MB / 0.5859 GB, free: 4.707 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/0.3915, allocations: 0.7182 MB / 0.5866 GB, free: 3.984 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.449e-05/0.3916, allocations: 12.98 kB / 0.5866 GB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.3916, allocations: 47.55 kB / 0.5867 GB, free: 3.918 MB / 398.1 MB Notification: Performance of pre-optimization done (n=103): time 3.627e-06/0.3916, allocations: 0 / 0.5867 GB, free: 3.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=103): time 0.0224/0.414, allocations: 5.6 MB / 0.5922 GB, free: 14.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.795e-05/0.4141, allocations: 60.41 kB / 0.5922 GB, free: 14.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002568/0.4167, allocations: 1.283 MB / 0.5935 GB, free: 12.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003288/0.4171, allocations: 49.7 kB / 0.5935 GB, free: 12.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004622/0.4175, allocations: 469.7 kB / 0.594 GB, free: 12.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000584/0.4181, allocations: 398.5 kB / 0.5943 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001085/0.4192, allocations: 383.3 kB / 0.5947 GB, free: 11.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.4194, allocations: 301.1 kB / 0.595 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002216/0.4216, allocations: 0.9449 MB / 0.5959 GB, free: 10.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002198/0.4238, allocations: 1.113 MB / 0.597 GB, free: 9.234 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003924/0.4277, allocations: 1.927 MB / 0.5989 GB, free: 7.285 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-06/0.4278, allocations: 0 / 0.5989 GB, free: 7.285 MB / 414.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.007563/0.4353, allocations: 3.036 MB / 0.6019 GB, free: 4.238 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.541e-05/0.4354, allocations: 8 kB / 0.6019 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.4355, allocations: 0 / 0.6019 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009135/0.4446, allocations: 2.284 MB / 0.6041 GB, free: 1.945 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001919/0.4466, allocations: 363.4 kB / 0.6044 GB, free: 1.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007605/0.4542, allocations: 2.279 MB / 0.6067 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003268/0.4575, allocations: 218.3 kB / 0.6069 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004706/0.458, allocations: 63.98 kB / 0.6069 GB, free: 15.01 MB / 430.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.0009902/0.459, allocations: 258.5 kB / 0.6072 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006391/0.4597, allocations: 138.2 kB / 0.6073 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01528/0.475, allocations: 3.357 MB / 0.6106 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-05/0.4751, allocations: 8 kB / 0.6106 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.4752, allocations: 3.938 kB / 0.6106 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.974e-05/0.4752, allocations: 7.984 kB / 0.6106 GB, free: 11.21 MB / 430.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.01888/0.4941, allocations: 5.035 MB / 0.6155 GB, free: 6.047 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.201e-05/0.4942, allocations: 0 / 0.6155 GB, free: 6.047 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/0.4954, allocations: 135.9 kB / 0.6157 GB, free: 5.914 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007688/0.5032, allocations: 1.437 MB / 0.6171 GB, free: 4.473 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003298/0.5035, allocations: 27.94 kB / 0.6171 GB, free: 4.445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02656/0.5301, allocations: 7.832 MB / 0.6247 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.5302, allocations: 3.984 kB / 0.6247 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01348/0.5437, allocations: 4.233 MB / 0.6289 GB, free: 8.211 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006053/0.5443, allocations: 255.1 kB / 0.6291 GB, free: 7.941 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000523/0.5449, allocations: 23.92 kB / 0.6291 GB, free: 7.918 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001627/0.5465, allocations: 87.91 kB / 0.6292 GB, free: 7.832 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007262/0.5473, allocations: 184.7 kB / 0.6294 GB, free: 7.652 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/0.5474, allocations: 28 kB / 0.6294 GB, free: 7.625 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0015/0.5489, allocations: 0.8473 MB / 0.6303 GB, free: 6.773 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.549, allocations: 0 / 0.6303 GB, free: 6.773 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002037/0.551, allocations: 475.7 kB / 0.6307 GB, free: 6.309 MB / 446.1 MB 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.000468/0.5515, allocations: 151.1 kB / 0.6309 GB, free: 6.148 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008772/0.5603, allocations: 2.484 MB / 0.6333 GB, free: 3.668 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.5603, allocations: 0 / 0.6333 GB, free: 3.668 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004826/0.5652, allocations: 1.368 MB / 0.6346 GB, free: 2.293 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/0.567, allocations: 110.4 kB / 0.6347 GB, free: 2.184 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006103/0.5732, allocations: 2.683 MB / 0.6373 GB, free: 15.47 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008121/0.574, allocations: 1.112 MB / 0.6384 GB, free: 14.33 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007196/0.5747, allocations: 128.6 kB / 0.6386 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004835/0.5752, allocations: 79.42 kB / 0.6386 GB, free: 14.12 MB / 462.1 MB Notification: Performance of SimCode: time 1.113e-06/0.5753, allocations: 0 / 0.6386 GB, free: 14.12 MB / 462.1 MB Notification: Performance of Templates: time 0.04238/0.6176, allocations: 24.79 MB / 0.6628 GB, free: 5.355 MB / 478.1 MB 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)