Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_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.Generator_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008374/0.008374, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.361/1.361, allocations: 222.9 MB / 239.4 MB, free: 4.523 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.001331/0.001331, allocations: 188.5 kB / 289.7 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4558/0.4558, allocations: 78.52 MB / 418.4 MB, free: 3.078 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 83.88 kB / 0.5536 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3108, allocations: 68.17 MB / 0.6202 GB, free: 9.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.007709/0.3186, allocations: 8.212 MB / 0.6282 GB, free: 1.965 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005556/0.3242, allocations: 2.616 MB / 0.6307 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001507/0.3257, allocations: 8 kB / 0.6308 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.3268, allocations: 313.3 kB / 0.631 GB, free: 15.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004472/0.3313, allocations: 1.497 MB / 0.6325 GB, free: 13.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.3328, allocations: 0.6053 MB / 0.6331 GB, free: 12.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00361/0.3365, allocations: 2.558 MB / 0.6356 GB, free: 10.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006211/0.3371, allocations: 320.8 kB / 0.6359 GB, free: 10.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001548/0.3387, allocations: 1.004 MB / 0.6369 GB, free: 9.023 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001955/0.3406, allocations: 1.366 MB / 0.6382 GB, free: 7.648 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006169/0.3413, allocations: 204 kB / 0.6384 GB, free: 7.449 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009648/0.3422, allocations: 379.8 kB / 0.6388 GB, free: 7.078 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006476/0.3429, allocations: 0.5099 MB / 0.6393 GB, free: 6.566 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001425/0.3443, allocations: 0.9946 MB / 0.6402 GB, free: 5.566 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002865/0.3472, allocations: 2.372 MB / 0.6426 GB, free: 3.191 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3472, allocations: 3.984 kB / 0.6426 GB, free: 3.188 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3472, allocations: 4 kB / 0.6426 GB, free: 3.184 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.906e-05/0.3473, allocations: 0 / 0.6426 GB, free: 3.184 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.02078/0.3681, allocations: 4.945 MB / 0.6474 GB, free: 14.18 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.3682, allocations: 8.031 kB / 0.6474 GB, free: 14.17 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003786/0.3719, allocations: 0.5682 MB / 0.648 GB, free: 13.6 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00235/0.3743, allocations: 1.228 MB / 0.6492 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000289/0.3746, allocations: 268.8 kB / 0.6494 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003114/0.375, allocations: 112 kB / 0.6495 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002308/0.3773, allocations: 1.089 MB / 0.6506 GB, free: 10.82 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.3773, allocations: 3.938 kB / 0.6506 GB, free: 10.82 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.3774, allocations: 32 kB / 0.6506 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.646e-05/0.3775, allocations: 20 kB / 0.6506 GB, free: 10.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002489/0.3799, allocations: 1.179 MB / 0.6518 GB, free: 9.582 MB / 462.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.008925/0.3889, allocations: 4.61 MB / 0.6563 GB, free: 4.75 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003537/0.3925, allocations: 2.147 MB / 0.6584 GB, free: 2.418 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001536/0.394, allocations: 0.7905 MB / 0.6592 GB, free: 1.625 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000146/0.3942, allocations: 25.3 kB / 0.6592 GB, free: 1.602 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.484e-05/0.3943, allocations: 47.86 kB / 0.6592 GB, free: 1.543 MB / 462.1 MB Notification: Performance of pre-optimization done (n=130): time 3.667e-06/0.3943, allocations: 0 / 0.6592 GB, free: 1.543 MB / 462.1 MB Notification: Performance of matching and sorting (n=130): time 0.02623/0.4205, allocations: 6.687 MB / 0.6658 GB, free: 10.82 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.624e-05/0.4206, allocations: 64.72 kB / 0.6658 GB, free: 10.74 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00324/0.4239, allocations: 1.655 MB / 0.6674 GB, free: 9.078 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003645/0.4242, allocations: 57.7 kB / 0.6675 GB, free: 9.016 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000589/0.4248, allocations: 0.5574 MB / 0.668 GB, free: 8.449 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006593/0.4255, allocations: 0.4971 MB / 0.6685 GB, free: 7.945 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001269/0.4268, allocations: 0.5094 MB / 0.669 GB, free: 7.43 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.4269, allocations: 309.1 kB / 0.6693 GB, free: 7.125 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00228/0.4292, allocations: 1.142 MB / 0.6704 GB, free: 5.98 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002443/0.4317, allocations: 1.36 MB / 0.6718 GB, free: 4.594 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004318/0.436, allocations: 2.338 MB / 0.674 GB, free: 2.215 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.436, allocations: 0 / 0.674 GB, free: 2.215 MB / 478.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.008954/0.445, allocations: 4.09 MB / 0.678 GB, free: 14.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.445, allocations: 4 kB / 0.678 GB, free: 14.08 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.445, allocations: 7.984 kB / 0.678 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01048/0.4555, allocations: 2.823 MB / 0.6808 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002317/0.4579, allocations: 479.3 kB / 0.6813 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00571/0.4636, allocations: 2.527 MB / 0.6837 GB, free: 8.219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002983/0.4666, allocations: 237.9 kB / 0.684 GB, free: 7.984 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004337/0.4671, allocations: 95.97 kB / 0.684 GB, free: 7.891 MB / 494.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 (281): * Single equations (assignments): 280 * 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 {(30,38)} Notification: Performance of prepare postOptimizeDAE: time 0.0008776/0.468, allocations: 317.3 kB / 0.6844 GB, free: 7.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005539/0.4685, allocations: 165.8 kB / 0.6845 GB, free: 7.406 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01058/0.4791, allocations: 3.546 MB / 0.688 GB, free: 3.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/0.4792, allocations: 12 kB / 0.688 GB, free: 3.828 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.4792, allocations: 4 kB / 0.688 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.738e-05/0.4792, allocations: 7.969 kB / 0.688 GB, free: 3.816 MB / 494.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.01393/0.4932, allocations: 5.654 MB / 0.6935 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.814e-06/0.4932, allocations: 0 / 0.6935 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009962/0.4942, allocations: 163.8 kB / 0.6937 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005152/0.4994, allocations: 1.48 MB / 0.6951 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001663/0.4996, allocations: 31.98 kB / 0.6951 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01784/0.5174, allocations: 7.849 MB / 0.7028 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.5175, allocations: 3.938 kB / 0.7028 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01251/0.53, allocations: 4.56 MB / 0.7073 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007986/0.5308, allocations: 298.8 kB / 0.7076 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005637/0.5314, allocations: 28 kB / 0.7076 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001741/0.5332, allocations: 83.86 kB / 0.7077 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006871/0.5339, allocations: 193.4 kB / 0.7078 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/0.534, allocations: 32 kB / 0.7079 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001845/0.5359, allocations: 1.094 MB / 0.7089 GB, free: 14 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5359, allocations: 0 / 0.7089 GB, free: 14 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002162/0.5381, allocations: 0.5972 MB / 0.7095 GB, free: 13.41 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq,gENROE2.w,gENROE2.delta,gENROE2.Epd,gENROE2.Epq,gENROE2.PSIkd,gENROE2.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 (93): * Single equations (assignments): 92 * 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 {(16,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003892/0.5385, allocations: 151 kB / 0.7097 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008139/0.5466, allocations: 3.01 MB / 0.7126 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.5466, allocations: 0 / 0.7126 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004109/0.5508, allocations: 1.524 MB / 0.7141 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.5521, allocations: 137.5 kB / 0.7142 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005938/0.558, allocations: 3.475 MB / 0.7176 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007688/0.5588, allocations: 1.234 MB / 0.7188 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007354/0.5596, allocations: 163.2 kB / 0.719 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005186/0.5601, allocations: 107.4 kB / 0.7191 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of SimCode: time 1.442e-06/0.5601, allocations: 0 / 0.7191 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of Templates: time 0.04689/0.607, allocations: 30.85 MB / 0.7492 GB, free: 4.688 MB / 0.545 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.makefile (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & ./OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)