Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.Aggregated_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.389/1.389, allocations: 222.9 MB / 239.9 MB, free: 4.684 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.001374/0.001374, allocations: 196.5 kB / 290.2 MB, free: 2.402 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5578/0.5578, allocations: 91.9 MB / 432.3 MB, free: 9.312 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001614, allocations: 79.88 kB / 0.5025 GB, free: 7.773 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3987, allocations: 71.27 MB / 0.5721 GB, free: 36.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.005721/0.4044, allocations: 6.199 MB / 0.5782 GB, free: 33.14 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003731/0.4082, allocations: 2.116 MB / 0.5802 GB, free: 31.71 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006858/0.4089, allocations: 12.78 kB / 0.5803 GB, free: 31.71 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005659/0.4095, allocations: 225 kB / 0.5805 GB, free: 31.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001913/0.4115, allocations: 0.8972 MB / 0.5813 GB, free: 31.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.4126, allocations: 0.562 MB / 0.5819 GB, free: 30.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001457/0.414, allocations: 1.664 MB / 0.5835 GB, free: 29.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003195/0.4144, allocations: 201.4 kB / 0.5837 GB, free: 29.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006204/0.415, allocations: 0.6845 MB / 0.5844 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007714/0.4158, allocations: 0.9111 MB / 0.5853 GB, free: 29.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001963/0.416, allocations: 144.8 kB / 0.5854 GB, free: 29.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000562/0.4165, allocations: 324 kB / 0.5857 GB, free: 29.08 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002344/0.4168, allocations: 364.3 kB / 0.5861 GB, free: 28.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00044/0.4172, allocations: 0.6788 MB / 0.5867 GB, free: 28.4 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001362/0.4186, allocations: 1.671 MB / 0.5884 GB, free: 27.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4186, allocations: 0 / 0.5884 GB, free: 27.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4186, allocations: 0 / 0.5884 GB, free: 27.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.83e-05/0.4186, allocations: 0 / 0.5884 GB, free: 27.68 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.01206/0.4307, allocations: 3.145 MB / 0.5914 GB, free: 26.47 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/0.4308, allocations: 9.531 kB / 0.5914 GB, free: 26.47 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003117/0.4339, allocations: 0.4888 MB / 0.5919 GB, free: 26.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.4354, allocations: 0.9021 MB / 0.5928 GB, free: 25.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002601/0.4357, allocations: 223 kB / 0.593 GB, free: 25.55 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/0.4359, allocations: 81.19 kB / 0.5931 GB, free: 25.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/0.4379, allocations: 0.8917 MB / 0.594 GB, free: 25.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.4379, allocations: 3.422 kB / 0.594 GB, free: 25.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.45e-05/0.438, allocations: 24.16 kB / 0.594 GB, free: 25.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/0.438, allocations: 15.09 kB / 0.594 GB, free: 25.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002315/0.4403, allocations: 0.9878 MB / 0.595 GB, free: 24.86 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.005203/0.4456, allocations: 2.936 MB / 0.5978 GB, free: 23.24 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002972/0.4485, allocations: 1.096 MB / 0.5989 GB, free: 22.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/0.45, allocations: 0.6725 MB / 0.5996 GB, free: 22.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.77e-05/0.4501, allocations: 16.67 kB / 0.5996 GB, free: 22.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.4501, allocations: 44.28 kB / 0.5996 GB, free: 22.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.095e-06/0.4501, allocations: 0 / 0.5996 GB, free: 22.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.02834/0.4785, allocations: 6.487 MB / 0.606 GB, free: 21.29 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.4786, allocations: 62.27 kB / 0.606 GB, free: 21.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002053/0.4806, allocations: 1.142 MB / 0.6071 GB, free: 20.72 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003045/0.481, allocations: 51.73 kB / 0.6072 GB, free: 20.67 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002655/0.4812, allocations: 389.9 kB / 0.6075 GB, free: 20.37 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003762/0.4816, allocations: 355.6 kB / 0.6079 GB, free: 20.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006372/0.4823, allocations: 369.2 kB / 0.6082 GB, free: 19.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.772e-05/0.4823, allocations: 309.8 kB / 0.6085 GB, free: 19.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002011/0.4843, allocations: 0.9077 MB / 0.6094 GB, free: 19.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002036/0.4864, allocations: 0.9318 MB / 0.6103 GB, free: 18.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003769/0.4902, allocations: 1.811 MB / 0.6121 GB, free: 18.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-06/0.4902, allocations: 0 / 0.6121 GB, free: 18.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007562/0.4977, allocations: 3.046 MB / 0.6151 GB, free: 16.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.4978, allocations: 4.5 kB / 0.6151 GB, free: 16.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.4978, allocations: 5.109 kB / 0.6151 GB, free: 16.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009064/0.5069, allocations: 2.28 MB / 0.6173 GB, free: 16.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/0.5087, allocations: 327.4 kB / 0.6176 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004775/0.5135, allocations: 2.269 MB / 0.6198 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002334/0.5159, allocations: 194.5 kB / 0.62 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001627/0.5161, allocations: 63.98 kB / 0.6201 GB, free: 13.26 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (189): * Single equations (assignments): 188 * 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.0004632/0.5165, allocations: 246.1 kB / 0.6203 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/0.5168, allocations: 118.4 kB / 0.6204 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01001/0.5268, allocations: 3.297 MB / 0.6237 GB, free: 9.578 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.5268, allocations: 15.94 kB / 0.6237 GB, free: 9.562 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.5268, allocations: 4 kB / 0.6237 GB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.967e-05/0.5269, allocations: 7.922 kB / 0.6237 GB, free: 9.551 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/0.5285, allocations: 1.206 MB / 0.6249 GB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.5285, allocations: 0 / 0.6249 GB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006638/0.5292, allocations: 111.8 kB / 0.625 GB, free: 8.188 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004934/0.5341, allocations: 1.446 MB / 0.6264 GB, free: 6.738 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/0.5343, allocations: 23.98 kB / 0.6264 GB, free: 6.715 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01773/0.552, allocations: 7.834 MB / 0.6341 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.552, allocations: 0 / 0.6341 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01311/0.5652, allocations: 4.139 MB / 0.6381 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006784/0.5659, allocations: 231.4 kB / 0.6383 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002345/0.5661, allocations: 20 kB / 0.6383 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/0.5674, allocations: 83.91 kB / 0.6384 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005736/0.568, allocations: 172.8 kB / 0.6386 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.061e-05/0.5681, allocations: 28 kB / 0.6386 GB, free: 10.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00108/0.5692, allocations: 0.7563 MB / 0.6393 GB, free: 9.262 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.463e-06/0.5692, allocations: 4 kB / 0.6393 GB, free: 9.258 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001403/0.5706, allocations: 439.6 kB / 0.6398 GB, free: 8.828 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 (62): * Single equations (assignments): 61 * 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.000327/0.5709, allocations: 149.7 kB / 0.6399 GB, free: 8.676 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007502/0.5784, allocations: 2.398 MB / 0.6422 GB, free: 6.273 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.5785, allocations: 0 / 0.6422 GB, free: 6.273 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004269/0.5828, allocations: 1.302 MB / 0.6435 GB, free: 4.953 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.5839, allocations: 92.3 kB / 0.6436 GB, free: 4.859 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004646/0.5886, allocations: 2.498 MB / 0.646 GB, free: 2.336 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005489/0.5891, allocations: 1.061 MB / 0.6471 GB, free: 1.246 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000444/0.5896, allocations: 75.42 kB / 0.6472 GB, free: 1.172 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5896, allocations: 0 / 0.6472 GB, free: 1.172 MB / 446.1 MB Notification: Performance of Templates: time 0.02469/0.6143, allocations: 19.06 MB / 0.6658 GB, free: 14.13 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & ./OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)