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.001375/0.001375, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 239.2 MB, free: 4.617 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.001723/0.001723, allocations: 188.5 kB / 289.5 MB, free: 2.34 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4978/0.4978, allocations: 78.52 MB / 418.2 MB, free: 3.164 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 75.88 kB / 497.4 MB, free: 6.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1536, allocations: 68.18 MB / 0.5524 GB, free: 2.223 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.2985/0.4522, allocations: 6.934 MB / 0.5591 GB, free: 35.49 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005099/0.4573, allocations: 2.294 MB / 0.5614 GB, free: 34.87 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009393/0.4583, allocations: 9.75 kB / 0.5614 GB, free: 34.87 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006872/0.4591, allocations: 264.6 kB / 0.5616 GB, free: 34.86 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003082/0.4622, allocations: 1.229 MB / 0.5628 GB, free: 34.62 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.4633, allocations: 0.4992 MB / 0.5633 GB, free: 34.58 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002407/0.4657, allocations: 2.001 MB / 0.5653 GB, free: 34.26 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004734/0.4662, allocations: 263.1 kB / 0.5655 GB, free: 34.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.4672, allocations: 0.7777 MB / 0.5663 GB, free: 34.03 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001037/0.4683, allocations: 1.03 MB / 0.5673 GB, free: 33.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000248/0.4685, allocations: 154.7 kB / 0.5674 GB, free: 33.8 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007763/0.4693, allocations: 332.2 kB / 0.5678 GB, free: 33.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002869/0.4696, allocations: 410.2 kB / 0.5681 GB, free: 33.7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005426/0.4702, allocations: 0.7791 MB / 0.5689 GB, free: 33.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001624/0.4718, allocations: 1.878 MB / 0.5707 GB, free: 33.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.4718, allocations: 0 / 0.5707 GB, free: 33.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4718, allocations: 0 / 0.5707 GB, free: 33.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.707e-05/0.4718, allocations: 0 / 0.5707 GB, free: 33.02 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.01471/0.4865, allocations: 3.896 MB / 0.5745 GB, free: 32.03 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.4866, allocations: 10.5 kB / 0.5746 GB, free: 32.03 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003032/0.4896, allocations: 0.5157 MB / 0.5751 GB, free: 31.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.4911, allocations: 0.9744 MB / 0.576 GB, free: 31.51 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002524/0.4913, allocations: 234.2 kB / 0.5762 GB, free: 31.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.4915, allocations: 88.66 kB / 0.5763 GB, free: 31.35 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/0.4934, allocations: 0.9829 MB / 0.5773 GB, free: 31.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.4934, allocations: 1.828 kB / 0.5773 GB, free: 31.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.003e-05/0.4935, allocations: 33.47 kB / 0.5773 GB, free: 31.29 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.4935, allocations: 16.88 kB / 0.5773 GB, free: 31.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002256/0.4958, allocations: 1.085 MB / 0.5784 GB, free: 31.26 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.005612/0.5014, allocations: 3.756 MB / 0.5821 GB, free: 29.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003183/0.5046, allocations: 1.669 MB / 0.5837 GB, free: 28.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/0.5061, allocations: 0.7121 MB / 0.5844 GB, free: 27.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.5063, allocations: 19.97 kB / 0.5844 GB, free: 27.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.5063, allocations: 51.69 kB / 0.5844 GB, free: 27.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=103): time 3.998e-06/0.5063, allocations: 0 / 0.5844 GB, free: 27.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=103): time 0.02249/0.5288, allocations: 5.59 MB / 0.5899 GB, free: 26.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.5289, allocations: 63.27 kB / 0.59 GB, free: 26.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002474/0.5314, allocations: 1.277 MB / 0.5912 GB, free: 26.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003831/0.5318, allocations: 49.67 kB / 0.5913 GB, free: 26.03 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003725/0.5322, allocations: 479.8 kB / 0.5917 GB, free: 25.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004541/0.5326, allocations: 394.7 kB / 0.5921 GB, free: 25.35 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007491/0.5334, allocations: 385.2 kB / 0.5925 GB, free: 25.17 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.218e-05/0.5335, allocations: 304.5 kB / 0.5928 GB, free: 24.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002123/0.5356, allocations: 0.9424 MB / 0.5937 GB, free: 24.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002381/0.538, allocations: 1.113 MB / 0.5948 GB, free: 24.04 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004057/0.542, allocations: 1.931 MB / 0.5966 GB, free: 23.14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.5421, allocations: 0 / 0.5966 GB, free: 23.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.007292/0.5494, allocations: 3.036 MB / 0.5996 GB, free: 21.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.5494, allocations: 6.25 kB / 0.5996 GB, free: 21.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.5494, allocations: 6.844 kB / 0.5996 GB, free: 21.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00978/0.5592, allocations: 2.282 MB / 0.6019 GB, free: 21.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002052/0.5613, allocations: 361.1 kB / 0.6022 GB, free: 21.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005664/0.567, allocations: 2.266 MB / 0.6044 GB, free: 20.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002791/0.5698, allocations: 222 kB / 0.6046 GB, free: 20.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001976/0.57, allocations: 67.09 kB / 0.6047 GB, free: 20.29 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.0006043/0.5706, allocations: 259.6 kB / 0.6049 GB, free: 20.08 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003097/0.571, allocations: 139.9 kB / 0.6051 GB, free: 20 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01172/0.5827, allocations: 3.346 MB / 0.6083 GB, free: 19.14 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.368e-05/0.5828, allocations: 11.31 kB / 0.6083 GB, free: 19.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.5828, allocations: 0 / 0.6083 GB, free: 19.14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.334e-05/0.5828, allocations: 7.078 kB / 0.6084 GB, free: 19.14 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.01375/0.5966, allocations: 5.042 MB / 0.6133 GB, free: 16.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.5966, allocations: 1.25 kB / 0.6133 GB, free: 16.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008282/0.5975, allocations: 131.7 kB / 0.6134 GB, free: 16.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00488/0.6024, allocations: 1.443 MB / 0.6148 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001385/0.6025, allocations: 20 kB / 0.6148 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01663/0.6192, allocations: 7.845 MB / 0.6225 GB, free: 6.941 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6192, allocations: 0 / 0.6225 GB, free: 6.941 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01153/0.6307, allocations: 4.23 MB / 0.6266 GB, free: 2.691 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006311/0.6314, allocations: 255.1 kB / 0.6269 GB, free: 2.422 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004013/0.6318, allocations: 24.95 kB / 0.6269 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/0.6332, allocations: 100.9 kB / 0.627 GB, free: 2.301 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005399/0.6338, allocations: 176.8 kB / 0.6272 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.935e-05/0.6339, allocations: 31.98 kB / 0.6272 GB, free: 2.098 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001065/0.6349, allocations: 0.8434 MB / 0.628 GB, free: 1.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6349, allocations: 0 / 0.628 GB, free: 1.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00136/0.6363, allocations: 487.6 kB / 0.6285 GB, free: 0.7734 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.0002698/0.6366, allocations: 143 kB / 0.6286 GB, free: 0.625 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007657/0.6443, allocations: 2.488 MB / 0.631 GB, free: 14.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.6443, allocations: 0 / 0.631 GB, free: 14.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004374/0.6487, allocations: 1.354 MB / 0.6324 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.001242/0.6499, allocations: 112 kB / 0.6325 GB, free: 12.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005405/0.6554, allocations: 2.688 MB / 0.6351 GB, free: 10.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008188/0.6562, allocations: 1.116 MB / 0.6362 GB, free: 8.887 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008348/0.657, allocations: 126.8 kB / 0.6363 GB, free: 8.762 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003485/0.6574, allocations: 87.42 kB / 0.6364 GB, free: 8.676 MB / 446.1 MB Notification: Performance of SimCode: time 1.944e-06/0.6574, allocations: 0 / 0.6364 GB, free: 8.676 MB / 446.1 MB Notification: Performance of Templates: time 0.04125/0.6987, allocations: 24.78 MB / 0.6606 GB, free: 48 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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)