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.07599/0.07599, allocations: 12.2 MB / 27.17 MB, free: 1.504 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.0008012/0.0008014, allocations: 99.58 kB / 30.68 MB, free: 4.863 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.241/1.241, allocations: 205.4 MB / 239.5 MB, free: 13.59 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.001091/0.001091, allocations: 171.2 kB / 290.6 MB, free: 11.64 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.419/0.419, allocations: 78.53 MB / 420.1 MB, free: 11.66 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.0009679/0.0009681, allocations: 31.98 kB / 0.4895 GB, free: 10.51 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2708, allocations: 69.24 MB / 0.5571 GB, free: 21.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.004327/0.2751, allocations: 6.33 MB / 0.5633 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003338/0.2785, allocations: 2.159 MB / 0.5654 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006259/0.2792, allocations: 12 kB / 0.5654 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004064/0.2796, allocations: 178.7 kB / 0.5655 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002164/0.2817, allocations: 1.04 MB / 0.5666 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007196/0.2825, allocations: 430.9 kB / 0.567 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001338/0.2838, allocations: 1.78 MB / 0.5687 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002868/0.2841, allocations: 218.9 kB / 0.5689 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005524/0.2847, allocations: 0.6575 MB / 0.5696 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007094/0.2854, allocations: 0.9299 MB / 0.5705 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001334/0.2855, allocations: 84 kB / 0.5706 GB, free: 7.199 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004582/0.286, allocations: 239.8 kB / 0.5708 GB, free: 6.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001966/0.2862, allocations: 326.6 kB / 0.5711 GB, free: 6.645 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.2864, allocations: 241 kB / 0.5713 GB, free: 6.402 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008158/0.2872, allocations: 1.397 MB / 0.5727 GB, free: 5.004 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2872, allocations: 0 / 0.5727 GB, free: 5.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2872, allocations: 0 / 0.5727 GB, free: 5.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.2872, allocations: 0 / 0.5727 GB, free: 5.004 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.01222/0.2995, allocations: 3.77 MB / 0.5764 GB, free: 1.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.2995, allocations: 15.98 kB / 0.5764 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002967/0.3025, allocations: 0.5211 MB / 0.5769 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/0.304, allocations: 0.9244 MB / 0.5778 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002678/0.3043, allocations: 246.9 kB / 0.578 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.3045, allocations: 91.91 kB / 0.5781 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/0.3065, allocations: 1.038 MB / 0.5791 GB, free: 14.26 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.3065, allocations: 4 kB / 0.5791 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.92e-05/0.3066, allocations: 24 kB / 0.5792 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.3066, allocations: 16 kB / 0.5792 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002424/0.3091, allocations: 1.171 MB / 0.5803 GB, free: 13.04 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.005927/0.315, allocations: 3.785 MB / 0.584 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002969/0.318, allocations: 1.753 MB / 0.5857 GB, free: 7.219 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001485/0.3195, allocations: 0.7729 MB / 0.5865 GB, free: 6.441 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/0.3196, allocations: 16.98 kB / 0.5865 GB, free: 6.426 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.3197, allocations: 51.5 kB / 0.5865 GB, free: 6.367 MB / 398.1 MB Notification: Performance of pre-optimization done (n=103): time 3.416e-06/0.3197, allocations: 0 / 0.5865 GB, free: 6.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=103): time 0.02068/0.3404, allocations: 6.589 MB / 0.593 GB, free: 15.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.3404, allocations: 64.41 kB / 0.593 GB, free: 15.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/0.3422, allocations: 1.264 MB / 0.5943 GB, free: 14.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002257/0.3425, allocations: 53.7 kB / 0.5943 GB, free: 14.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003597/0.3428, allocations: 473.6 kB / 0.5948 GB, free: 13.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003842/0.3432, allocations: 398.5 kB / 0.5952 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.3433, allocations: 40 kB / 0.5952 GB, free: 13.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.3435, allocations: 381.8 kB / 0.5956 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001928/0.3454, allocations: 0.9996 MB / 0.5965 GB, free: 12.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002082/0.3475, allocations: 1.16 MB / 0.5977 GB, free: 10.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002112/0.3497, allocations: 1.08 MB / 0.5987 GB, free: 9.773 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.3497, allocations: 0 / 0.5987 GB, free: 9.773 MB / 414.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.006124/0.3558, allocations: 3.145 MB / 0.6018 GB, free: 6.617 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.3559, allocations: 4 kB / 0.6018 GB, free: 6.613 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.3559, allocations: 192 / 0.6018 GB, free: 6.613 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008251/0.3641, allocations: 2.53 MB / 0.6043 GB, free: 4.078 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/0.3659, allocations: 363.5 kB / 0.6046 GB, free: 3.723 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005189/0.3711, allocations: 2.468 MB / 0.607 GB, free: 1.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002177/0.3733, allocations: 246.3 kB / 0.6073 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002406/0.3736, allocations: 63.98 kB / 0.6073 GB, free: 0.9258 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 29} Notification: Performance of prepare postOptimizeDAE: time 0.0006062/0.3742, allocations: 261.5 kB / 0.6076 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003239/0.3746, allocations: 146.2 kB / 0.6077 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01057/0.3851, allocations: 3.959 MB / 0.6116 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.3852, allocations: 8 kB / 0.6116 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.3852, allocations: 0 / 0.6116 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.946e-05/0.3852, allocations: 3.984 kB / 0.6116 GB, free: 12.53 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.01288/0.3981, allocations: 5.672 MB / 0.6171 GB, free: 6.723 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.3982, allocations: 0 / 0.6171 GB, free: 6.723 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007914/0.399, allocations: 135.8 kB / 0.6173 GB, free: 6.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00519/0.4042, allocations: 1.664 MB / 0.6189 GB, free: 4.922 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001603/0.4044, allocations: 27.94 kB / 0.6189 GB, free: 4.895 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01772/0.4221, allocations: 7.842 MB / 0.6266 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.4221, allocations: 7.984 kB / 0.6266 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0128/0.4349, allocations: 4.914 MB / 0.6314 GB, free: 7.973 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005687/0.4356, allocations: 251.1 kB / 0.6316 GB, free: 7.707 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004149/0.436, allocations: 20 kB / 0.6316 GB, free: 7.688 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/0.4374, allocations: 123.9 kB / 0.6317 GB, free: 7.566 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005508/0.4379, allocations: 188.6 kB / 0.6319 GB, free: 7.383 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.915e-05/0.438, allocations: 28 kB / 0.632 GB, free: 7.355 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001174/0.4392, allocations: 0.8395 MB / 0.6328 GB, free: 6.512 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4392, allocations: 0 / 0.6328 GB, free: 6.512 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001428/0.4407, allocations: 483.6 kB / 0.6332 GB, free: 6.039 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002726/0.4409, allocations: 135.1 kB / 0.6334 GB, free: 5.898 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006694/0.4476, allocations: 2.646 MB / 0.6359 GB, free: 3.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.4477, allocations: 4 kB / 0.636 GB, free: 3.246 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003983/0.4517, allocations: 1.493 MB / 0.6374 GB, free: 1.746 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.4529, allocations: 104.7 kB / 0.6375 GB, free: 1.645 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005144/0.458, allocations: 3.151 MB / 0.6406 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007379/0.4588, allocations: 1.113 MB / 0.6417 GB, free: 13.32 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006116/0.4594, allocations: 124.6 kB / 0.6418 GB, free: 13.19 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003993/0.4598, allocations: 79.42 kB / 0.6419 GB, free: 13.11 MB / 462.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4599, allocations: 3.938 kB / 0.6419 GB, free: 13.11 MB / 462.1 MB Notification: Performance of Templates: time 0.03377/0.4936, allocations: 21.19 MB / 0.6626 GB, free: 7.957 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: