Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.conf.json 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 4.0.0+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 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 107.4 kB / 16.29 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 239.9 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 188.5 kB / 290.2 MB, free: 2.359 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4653/0.4653, allocations: 78.51 MB / 418.9 MB, free: 3.184 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 76.2 kB / 498.2 MB, free: 6.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1556, allocations: 68.19 MB / 0.5531 GB, free: 2.18 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.2994/0.455, allocations: 6.927 MB / 0.5598 GB, free: 35.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005295/0.4604, allocations: 2.293 MB / 0.5621 GB, free: 34.9 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008554/0.4613, allocations: 14.41 kB / 0.5621 GB, free: 34.9 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005982/0.4619, allocations: 257.6 kB / 0.5623 GB, free: 34.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002671/0.4646, allocations: 1.24 MB / 0.5635 GB, free: 34.64 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009542/0.4655, allocations: 0.4946 MB / 0.564 GB, free: 34.61 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002022/0.4676, allocations: 2.006 MB / 0.566 GB, free: 34.28 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003791/0.468, allocations: 262 kB / 0.5662 GB, free: 34.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008964/0.4689, allocations: 0.7699 MB / 0.567 GB, free: 34.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000994/0.4699, allocations: 1.037 MB / 0.568 GB, free: 33.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002089/0.4701, allocations: 157.8 kB / 0.5681 GB, free: 33.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006232/0.4707, allocations: 325.2 kB / 0.5685 GB, free: 33.81 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002648/0.471, allocations: 409.8 kB / 0.5688 GB, free: 33.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005755/0.4716, allocations: 0.7772 MB / 0.5696 GB, free: 33.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001644/0.4732, allocations: 1.895 MB / 0.5715 GB, free: 33.03 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4733, allocations: 0 / 0.5715 GB, free: 33.03 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.4733, allocations: 1.094 kB / 0.5715 GB, free: 33.03 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.189e-05/0.4733, allocations: 2.625 kB / 0.5715 GB, free: 33.03 MB / 430.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.01478/0.4881, allocations: 3.901 MB / 0.5753 GB, free: 32.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.4881, allocations: 10.5 kB / 0.5753 GB, free: 32.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003069/0.4912, allocations: 0.519 MB / 0.5758 GB, free: 31.94 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/0.4928, allocations: 0.9743 MB / 0.5767 GB, free: 31.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002481/0.493, allocations: 233.4 kB / 0.577 GB, free: 31.36 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/0.4932, allocations: 86.78 kB / 0.577 GB, free: 31.36 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/0.4951, allocations: 0.9844 MB / 0.578 GB, free: 31.3 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.4952, allocations: 0 / 0.578 GB, free: 31.3 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-05/0.4953, allocations: 30.41 kB / 0.578 GB, free: 31.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.4953, allocations: 17.94 kB / 0.5781 GB, free: 31.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00224/0.4975, allocations: 1.091 MB / 0.5791 GB, free: 31.27 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 preOpt removeSimpleEquations (simulation): time 0.005951/0.5035, allocations: 3.741 MB / 0.5828 GB, free: 29.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003238/0.5068, allocations: 1.659 MB / 0.5844 GB, free: 28.17 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/0.5083, allocations: 0.7177 MB / 0.5851 GB, free: 27.9 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.5084, allocations: 18.61 kB / 0.5851 GB, free: 27.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.5085, allocations: 44.5 kB / 0.5852 GB, free: 27.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=103): time 2.806e-06/0.5085, allocations: 0 / 0.5852 GB, free: 27.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=103): time 0.02155/0.53, allocations: 5.588 MB / 0.5906 GB, free: 26.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.5301, allocations: 62 kB / 0.5907 GB, free: 26.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002042/0.5322, allocations: 1.285 MB / 0.5919 GB, free: 26.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003224/0.5325, allocations: 47.39 kB / 0.592 GB, free: 26 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000309/0.5328, allocations: 483.3 kB / 0.5924 GB, free: 25.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003733/0.5332, allocations: 389.6 kB / 0.5928 GB, free: 25.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006239/0.5338, allocations: 391 kB / 0.5932 GB, free: 25.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.019e-05/0.5339, allocations: 301.8 kB / 0.5935 GB, free: 24.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002009/0.5359, allocations: 0.9437 MB / 0.5944 GB, free: 24.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002161/0.5381, allocations: 1.11 MB / 0.5955 GB, free: 24.01 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003821/0.5419, allocations: 1.932 MB / 0.5974 GB, free: 23.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.5419, allocations: 1.219 kB / 0.5974 GB, free: 23.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.006975/0.5489, allocations: 3.036 MB / 0.6003 GB, free: 21.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.549, allocations: 6.031 kB / 0.6003 GB, free: 21.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.549, allocations: 2.453 kB / 0.6003 GB, free: 21.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009472/0.5585, allocations: 2.278 MB / 0.6026 GB, free: 21.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001985/0.5605, allocations: 357.4 kB / 0.6029 GB, free: 21.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005231/0.5657, allocations: 2.271 MB / 0.6051 GB, free: 20.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002537/0.5683, allocations: 224.1 kB / 0.6053 GB, free: 20.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001953/0.5685, allocations: 65.92 kB / 0.6054 GB, free: 20.27 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.0005153/0.5691, allocations: 263.3 kB / 0.6056 GB, free: 20.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002677/0.5693, allocations: 135.8 kB / 0.6058 GB, free: 19.97 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01132/0.5806, allocations: 3.352 MB / 0.609 GB, free: 19.11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.422e-05/0.5807, allocations: 11.44 kB / 0.6091 GB, free: 19.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.5807, allocations: 1.844 kB / 0.6091 GB, free: 19.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.518e-05/0.5808, allocations: 4.875 kB / 0.6091 GB, free: 19.11 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.01282/0.5936, allocations: 5.033 MB / 0.614 GB, free: 16.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.5937, allocations: 0 / 0.614 GB, free: 16.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008154/0.5945, allocations: 131.8 kB / 0.6141 GB, free: 16.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004869/0.5994, allocations: 1.442 MB / 0.6155 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001671/0.5995, allocations: 16 kB / 0.6155 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01659/0.6161, allocations: 7.838 MB / 0.6232 GB, free: 6.906 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.6162, allocations: 0 / 0.6232 GB, free: 6.906 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0113/0.6275, allocations: 4.231 MB / 0.6273 GB, free: 2.656 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005916/0.6281, allocations: 255.6 kB / 0.6276 GB, free: 2.387 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000231/0.6284, allocations: 25.81 kB / 0.6276 GB, free: 2.363 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/0.6297, allocations: 91.91 kB / 0.6277 GB, free: 2.273 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005647/0.6303, allocations: 184.7 kB / 0.6278 GB, free: 2.094 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/0.6304, allocations: 28 kB / 0.6279 GB, free: 2.066 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001081/0.6315, allocations: 0.8473 MB / 0.6287 GB, free: 1.215 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6315, allocations: 4 kB / 0.6287 GB, free: 1.211 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001274/0.6328, allocations: 483.6 kB / 0.6292 GB, free: 0.7383 MB / 430.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.0002612/0.633, allocations: 143.7 kB / 0.6293 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007334/0.6404, allocations: 2.459 MB / 0.6317 GB, free: 14.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.6404, allocations: 0 / 0.6317 GB, free: 14.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004322/0.6447, allocations: 1.348 MB / 0.633 GB, free: 12.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/0.6463, allocations: 111.1 kB / 0.6331 GB, free: 12.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005388/0.6517, allocations: 2.656 MB / 0.6357 GB, free: 10.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007431/0.6525, allocations: 1.113 MB / 0.6368 GB, free: 8.918 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006142/0.6531, allocations: 127.9 kB / 0.6369 GB, free: 8.793 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004363/0.6536, allocations: 89.3 kB / 0.637 GB, free: 8.707 MB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/0.6536, allocations: 0 / 0.637 GB, free: 8.707 MB / 446.1 MB Notification: Performance of Templates: time 0.041/0.6946, allocations: 24.79 MB / 0.6612 GB, free: 88 kB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.makefile (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & ./OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)