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/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/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/package.mo): time 0.07754/0.07754, allocations: 12.21 MB / 28.09 MB, free: 1.34 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.001067/0.001067, allocations: 115.4 kB / 31.59 MB, free: 4.566 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.305/1.305, allocations: 205.1 MB / 240.1 MB, free: 10.93 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.00152/0.00152, allocations: 187.8 kB / 290.2 MB, free: 13.81 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4613/0.4613, allocations: 78.5 MB / 418.8 MB, free: 11.94 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.00258/0.002581, allocations: 131.8 kB / 499.1 MB, free: 11.77 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3588, allocations: 68.04 MB / 0.5538 GB, free: 22.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.00666/0.3655, allocations: 7.235 MB / 0.5609 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004801/0.3704, allocations: 2.267 MB / 0.5631 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.3717, allocations: 16 kB / 0.5631 GB, free: 12.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007017/0.3725, allocations: 206.8 kB / 0.5633 GB, free: 12.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003322/0.3758, allocations: 1.121 MB / 0.5644 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.3768, allocations: 473.8 kB / 0.5649 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002107/0.379, allocations: 2.007 MB / 0.5668 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003879/0.3794, allocations: 259.4 kB / 0.5671 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009085/0.3803, allocations: 0.7821 MB / 0.5678 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008625/0.3812, allocations: 1.031 MB / 0.5688 GB, free: 6.762 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001933/0.3814, allocations: 156 kB / 0.569 GB, free: 6.609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006414/0.382, allocations: 331.8 kB / 0.5693 GB, free: 6.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002472/0.3823, allocations: 406.5 kB / 0.5697 GB, free: 5.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005058/0.3828, allocations: 0.7809 MB / 0.5704 GB, free: 5.102 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.384, allocations: 1.442 MB / 0.5719 GB, free: 3.656 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.384, allocations: 0 / 0.5719 GB, free: 3.656 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.384, allocations: 0 / 0.5719 GB, free: 3.656 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.814e-05/0.384, allocations: 4 kB / 0.5719 GB, free: 3.652 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.01454/0.3986, allocations: 3.894 MB / 0.5757 GB, free: 15.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.076e-05/0.3987, allocations: 15.98 kB / 0.5757 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003268/0.402, allocations: 0.522 MB / 0.5762 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/0.4038, allocations: 0.9701 MB / 0.5771 GB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003157/0.4041, allocations: 234.9 kB / 0.5774 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/0.4043, allocations: 87.94 kB / 0.5774 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/0.4065, allocations: 0.9833 MB / 0.5784 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.4065, allocations: 0 / 0.5784 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.214e-05/0.4066, allocations: 28 kB / 0.5784 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.4067, allocations: 16 kB / 0.5784 GB, free: 12.76 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002442/0.4091, allocations: 1.089 MB / 0.5795 GB, free: 11.66 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.006709/0.4158, allocations: 3.75 MB / 0.5832 GB, free: 7.738 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003178/0.419, allocations: 1.673 MB / 0.5848 GB, free: 5.949 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/0.4205, allocations: 0.7104 MB / 0.5855 GB, free: 5.234 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/0.4207, allocations: 17 kB / 0.5855 GB, free: 5.219 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.4207, allocations: 39.56 kB / 0.5856 GB, free: 5.172 MB / 398.1 MB Notification: Performance of pre-optimization done (n=103): time 3.797e-06/0.4207, allocations: 0 / 0.5856 GB, free: 5.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=103): time 0.02251/0.4432, allocations: 5.6 MB / 0.591 GB, free: 15.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.075e-05/0.4434, allocations: 72.34 kB / 0.5911 GB, free: 15.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002613/0.446, allocations: 1.279 MB / 0.5923 GB, free: 14.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003392/0.4464, allocations: 53.64 kB / 0.5924 GB, free: 14.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000527/0.4469, allocations: 477.7 kB / 0.5928 GB, free: 13.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006013/0.4475, allocations: 394.5 kB / 0.5932 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001077/0.4486, allocations: 379.4 kB / 0.5936 GB, free: 12.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.4488, allocations: 309.1 kB / 0.5939 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002238/0.451, allocations: 0.9371 MB / 0.5948 GB, free: 11.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002417/0.4534, allocations: 1.117 MB / 0.5959 GB, free: 10.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004118/0.4576, allocations: 1.931 MB / 0.5978 GB, free: 8.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.4576, allocations: 0 / 0.5978 GB, free: 8.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.007371/0.465, allocations: 3.036 MB / 0.6007 GB, free: 5.473 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.465, allocations: 8 kB / 0.6007 GB, free: 5.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.4651, allocations: 0 / 0.6007 GB, free: 5.465 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009079/0.4741, allocations: 2.288 MB / 0.603 GB, free: 3.176 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/0.476, allocations: 359.4 kB / 0.6033 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005386/0.4814, allocations: 2.271 MB / 0.6055 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002651/0.4841, allocations: 218.3 kB / 0.6057 GB, free: 320 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003701/0.4845, allocations: 75.91 kB / 0.6058 GB, free: 244 kB / 414.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.0008111/0.4853, allocations: 261.6 kB / 0.6061 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004964/0.4858, allocations: 138.2 kB / 0.6062 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01082/0.4967, allocations: 3.342 MB / 0.6095 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.917e-05/0.4967, allocations: 12 kB / 0.6095 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.4968, allocations: 0 / 0.6095 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-05/0.4968, allocations: 7.969 kB / 0.6095 GB, free: 12.45 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.01361/0.5104, allocations: 5.039 MB / 0.6144 GB, free: 7.285 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/0.5105, allocations: 0 / 0.6144 GB, free: 7.285 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008116/0.5113, allocations: 131.8 kB / 0.6145 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005226/0.5165, allocations: 1.441 MB / 0.6159 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001652/0.5167, allocations: 16 kB / 0.616 GB, free: 5.695 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01976/0.5365, allocations: 7.848 MB / 0.6236 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.5366, allocations: 0 / 0.6236 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01312/0.5497, allocations: 4.237 MB / 0.6278 GB, free: 9.445 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008393/0.5506, allocations: 247.1 kB / 0.628 GB, free: 9.184 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005308/0.5511, allocations: 23.94 kB / 0.628 GB, free: 9.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001768/0.5529, allocations: 91.89 kB / 0.6281 GB, free: 9.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000693/0.5536, allocations: 180.7 kB / 0.6283 GB, free: 8.895 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/0.5538, allocations: 28 kB / 0.6283 GB, free: 8.867 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00158/0.5554, allocations: 0.8473 MB / 0.6291 GB, free: 8.016 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5554, allocations: 0 / 0.6291 GB, free: 8.016 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002025/0.5574, allocations: 483.8 kB / 0.6296 GB, free: 7.543 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.0003763/0.5578, allocations: 142.3 kB / 0.6297 GB, free: 7.395 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007832/0.5656, allocations: 2.5 MB / 0.6322 GB, free: 4.898 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.5657, allocations: 0 / 0.6322 GB, free: 4.898 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004466/0.5702, allocations: 1.352 MB / 0.6335 GB, free: 3.535 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/0.572, allocations: 111.9 kB / 0.6336 GB, free: 3.426 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006485/0.5785, allocations: 3.124 MB / 0.6366 GB, free: 276 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008716/0.5794, allocations: 1.116 MB / 0.6377 GB, free: 15.12 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005929/0.58, allocations: 95.41 kB / 0.6378 GB, free: 15.03 MB / 462.1 MB Notification: Performance of SimCode: time 1.283e-06/0.58, allocations: 0 / 0.6378 GB, free: 15.03 MB / 462.1 MB Notification: Performance of Templates: time 0.03464/0.6147, allocations: 21.25 MB / 0.6586 GB, free: 9.773 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)