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.001091/0.001091, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.338/1.338, allocations: 223.3 MB / 239 MB, free: 5.453 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.001161/0.001161, allocations: 192.4 kB / 290.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.445/0.445, allocations: 78.55 MB / 419.9 MB, free: 4.344 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003841/0.0003842, allocations: 16 kB / 499.8 MB, free: 6.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1426, allocations: 69.35 MB / 0.5558 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.2411/0.3838, allocations: 6.283 MB / 0.5619 GB, free: 37.44 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0038/0.3877, allocations: 2.195 MB / 0.5641 GB, free: 37.15 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006121/0.3883, allocations: 8.906 kB / 0.5641 GB, free: 37.15 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004274/0.3887, allocations: 181.1 kB / 0.5643 GB, free: 37.08 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002336/0.3911, allocations: 1.028 MB / 0.5653 GB, free: 36.83 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007943/0.3919, allocations: 425.3 kB / 0.5657 GB, free: 36.78 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001618/0.3935, allocations: 1.785 MB / 0.5674 GB, free: 36.42 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003124/0.3938, allocations: 219.7 kB / 0.5676 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005116/0.3944, allocations: 0.6573 MB / 0.5683 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008278/0.3952, allocations: 0.9317 MB / 0.5692 GB, free: 35.99 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001583/0.3954, allocations: 85.56 kB / 0.5693 GB, free: 35.99 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000526/0.3959, allocations: 239.8 kB / 0.5695 GB, free: 35.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002199/0.3961, allocations: 324 kB / 0.5698 GB, free: 35.9 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.3963, allocations: 238.4 kB / 0.57 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009713/0.3973, allocations: 1.388 MB / 0.5714 GB, free: 35.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3973, allocations: 3.938 kB / 0.5714 GB, free: 35.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3973, allocations: 0.6875 kB / 0.5714 GB, free: 35.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.3973, allocations: 0 / 0.5714 GB, free: 35.59 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.0123/0.4096, allocations: 3.783 MB / 0.5751 GB, free: 34.49 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.4097, allocations: 10.88 kB / 0.5751 GB, free: 34.49 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002874/0.4126, allocations: 0.5276 MB / 0.5756 GB, free: 34.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.4139, allocations: 0.9202 MB / 0.5765 GB, free: 33.76 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002209/0.4141, allocations: 241.1 kB / 0.5767 GB, free: 33.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.4143, allocations: 97.66 kB / 0.5768 GB, free: 33.53 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/0.4161, allocations: 1.039 MB / 0.5778 GB, free: 33.17 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.4161, allocations: 0 / 0.5778 GB, free: 33.17 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.7e-05/0.4162, allocations: 25.66 kB / 0.5779 GB, free: 33.15 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.4162, allocations: 18.58 kB / 0.5779 GB, free: 33.14 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002123/0.4183, allocations: 1.173 MB / 0.579 GB, free: 32.79 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.004796/0.4231, allocations: 3.785 MB / 0.5827 GB, free: 30.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002596/0.4258, allocations: 1.736 MB / 0.5844 GB, free: 29.63 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/0.4272, allocations: 0.7777 MB / 0.5852 GB, free: 29.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.4273, allocations: 24.08 kB / 0.5852 GB, free: 29.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.4273, allocations: 43.72 kB / 0.5852 GB, free: 29.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=103): time 2.946e-06/0.4273, allocations: 0 / 0.5852 GB, free: 29.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=103): time 0.02103/0.4484, allocations: 6.59 MB / 0.5917 GB, free: 27.99 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.4485, allocations: 65.44 kB / 0.5917 GB, free: 27.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002568/0.451, allocations: 1.265 MB / 0.593 GB, free: 27.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002814/0.4513, allocations: 50.77 kB / 0.593 GB, free: 27.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00048/0.4518, allocations: 475.3 kB / 0.5935 GB, free: 26.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005284/0.4524, allocations: 394.7 kB / 0.5939 GB, free: 26.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002766/0.4527, allocations: 44.56 kB / 0.5939 GB, free: 26.63 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.4528, allocations: 378.2 kB / 0.5943 GB, free: 26.29 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002231/0.455, allocations: 0.9933 MB / 0.5952 GB, free: 25.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002324/0.4574, allocations: 1.169 MB / 0.5964 GB, free: 25.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002299/0.4597, allocations: 1.081 MB / 0.5974 GB, free: 24.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/0.4597, allocations: 1.156 kB / 0.5974 GB, free: 24.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.007115/0.4668, allocations: 3.142 MB / 0.6005 GB, free: 23.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.4669, allocations: 5.719 kB / 0.6005 GB, free: 23.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.4669, allocations: 3.938 kB / 0.6005 GB, free: 23.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00872/0.4756, allocations: 2.528 MB / 0.603 GB, free: 23.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001798/0.4775, allocations: 358.5 kB / 0.6033 GB, free: 23.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005134/0.4826, allocations: 2.462 MB / 0.6057 GB, free: 22.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/0.4849, allocations: 250.4 kB / 0.606 GB, free: 22.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003045/0.4852, allocations: 66.55 kB / 0.606 GB, free: 22.06 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 (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.0006656/0.4859, allocations: 264.1 kB / 0.6063 GB, free: 21.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003795/0.4863, allocations: 131.7 kB / 0.6064 GB, free: 21.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01079/0.4971, allocations: 3.969 MB / 0.6103 GB, free: 20.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/0.4972, allocations: 11.92 kB / 0.6103 GB, free: 20.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.4972, allocations: 5.328 kB / 0.6103 GB, free: 20.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.331e-05/0.4972, allocations: 6.188 kB / 0.6103 GB, free: 20.84 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.01223/0.5094, allocations: 5.66 MB / 0.6158 GB, free: 16.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.5095, allocations: 0 / 0.6158 GB, free: 16.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006868/0.5102, allocations: 139.8 kB / 0.616 GB, free: 16.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004463/0.5147, allocations: 1.669 MB / 0.6176 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.5148, allocations: 20 kB / 0.6176 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01472/0.5295, allocations: 7.841 MB / 0.6253 GB, free: 6.613 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5295, allocations: 0 / 0.6253 GB, free: 6.613 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01094/0.5405, allocations: 4.919 MB / 0.6301 GB, free: 1.676 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006381/0.5412, allocations: 251.1 kB / 0.6303 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003916/0.5416, allocations: 20.52 kB / 0.6303 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/0.5429, allocations: 123.9 kB / 0.6304 GB, free: 1.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005441/0.5435, allocations: 186.5 kB / 0.6306 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.334e-05/0.5436, allocations: 31.94 kB / 0.6307 GB, free: 1.059 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00117/0.5448, allocations: 0.8317 MB / 0.6315 GB, free: 228 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5448, allocations: 0 / 0.6315 GB, free: 228 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.001771/0.5466, allocations: 487.6 kB / 0.6319 GB, free: 15.74 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.0003388/0.5469, allocations: 139.6 kB / 0.6321 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007482/0.5544, allocations: 2.648 MB / 0.6347 GB, free: 12.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5544, allocations: 0 / 0.6347 GB, free: 12.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004262/0.5587, allocations: 1.496 MB / 0.6361 GB, free: 11.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/0.5602, allocations: 109.2 kB / 0.6362 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005737/0.5659, allocations: 3.144 MB / 0.6393 GB, free: 8.273 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007493/0.5667, allocations: 1.115 MB / 0.6404 GB, free: 7.125 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000657/0.5673, allocations: 120.7 kB / 0.6405 GB, free: 7.004 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004161/0.5678, allocations: 84.92 kB / 0.6406 GB, free: 6.922 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/0.5678, allocations: 0 / 0.6406 GB, free: 6.922 MB / 446.1 MB Notification: Performance of Templates: time 0.03494/0.6027, allocations: 21.17 MB / 0.6612 GB, free: 1.887 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: