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.0008439/0.000844, allocations: 99.03 kB / 16.02 MB, free: 76 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.446/1.446, allocations: 223.3 MB / 240 MB, free: 5.477 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.001278/0.001278, allocations: 191.4 kB / 291.3 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5597/0.5597, allocations: 91.92 MB / 434.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003707, allocations: 12 kB / 0.5054 GB, free: 7.227 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4354/0.4358, allocations: 72.47 MB / 0.5762 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.005152/0.441, allocations: 5.9 MB / 0.5819 GB, free: 32.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004041/0.4451, allocations: 2.115 MB / 0.584 GB, free: 31.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005845/0.4457, allocations: 11.56 kB / 0.584 GB, free: 31.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005013/0.4462, allocations: 185.5 kB / 0.5842 GB, free: 31.15 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001876/0.4481, allocations: 0.7948 MB / 0.585 GB, free: 30.65 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.4491, allocations: 0.5191 MB / 0.5855 GB, free: 30.38 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001633/0.4508, allocations: 1.58 MB / 0.587 GB, free: 29.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000365/0.4512, allocations: 185.6 kB / 0.5872 GB, free: 29.58 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008109/0.452, allocations: 0.5929 MB / 0.5878 GB, free: 29.33 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008615/0.4529, allocations: 0.8552 MB / 0.5886 GB, free: 28.97 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001447/0.453, allocations: 76 kB / 0.5887 GB, free: 28.97 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000551/0.4536, allocations: 236.7 kB / 0.5889 GB, free: 28.92 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.4538, allocations: 295.5 kB / 0.5892 GB, free: 28.76 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004836/0.4543, allocations: 0.6284 MB / 0.5898 GB, free: 28.35 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.4554, allocations: 1.251 MB / 0.591 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.4554, allocations: 0 / 0.591 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.4554, allocations: 3.938 kB / 0.591 GB, free: 28 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.471e-05/0.4554, allocations: 0 / 0.591 GB, free: 28 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.01145/0.4669, allocations: 3.02 MB / 0.594 GB, free: 26.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.4669, allocations: 8.875 kB / 0.594 GB, free: 26.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003248/0.4702, allocations: 0.496 MB / 0.5945 GB, free: 26.81 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/0.4718, allocations: 0.9006 MB / 0.5953 GB, free: 26.19 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002991/0.4721, allocations: 243.6 kB / 0.5956 GB, free: 26 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/0.4723, allocations: 85.69 kB / 0.5957 GB, free: 25.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/0.4744, allocations: 0.9447 MB / 0.5966 GB, free: 25.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.4744, allocations: 0 / 0.5966 GB, free: 25.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.21e-05/0.4745, allocations: 28.19 kB / 0.5966 GB, free: 25.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.4746, allocations: 15.44 kB / 0.5966 GB, free: 25.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002466/0.477, allocations: 1.055 MB / 0.5977 GB, free: 25.3 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.005336/0.4824, allocations: 2.962 MB / 0.6005 GB, free: 23.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003126/0.4855, allocations: 1.167 MB / 0.6017 GB, free: 23.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001571/0.4871, allocations: 0.7171 MB / 0.6024 GB, free: 23.01 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.939e-05/0.4872, allocations: 21.5 kB / 0.6024 GB, free: 23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.4872, allocations: 51.61 kB / 0.6025 GB, free: 22.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.446e-06/0.4873, allocations: 0 / 0.6025 GB, free: 22.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.03062/0.5179, allocations: 7.694 MB / 0.61 GB, free: 21.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.518, allocations: 62.64 kB / 0.61 GB, free: 21.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002402/0.5204, allocations: 1.143 MB / 0.6111 GB, free: 21.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004141/0.5208, allocations: 45.98 kB / 0.6112 GB, free: 20.97 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003305/0.5212, allocations: 391 kB / 0.6116 GB, free: 20.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004476/0.5216, allocations: 371.3 kB / 0.6119 GB, free: 20.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003082/0.5219, allocations: 188.2 kB / 0.6121 GB, free: 20.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.524e-05/0.522, allocations: 307.1 kB / 0.6124 GB, free: 19.99 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002245/0.5242, allocations: 0.9622 MB / 0.6133 GB, free: 19.63 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002177/0.5264, allocations: 0.9888 MB / 0.6143 GB, free: 19.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004227/0.5307, allocations: 1.921 MB / 0.6162 GB, free: 18.44 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.5307, allocations: 0 / 0.6162 GB, free: 18.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007822/0.5385, allocations: 3.281 MB / 0.6194 GB, free: 17.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.5386, allocations: 7.938 kB / 0.6194 GB, free: 17.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.5386, allocations: 0 / 0.6194 GB, free: 17.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008795/0.5474, allocations: 2.53 MB / 0.6219 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/0.5491, allocations: 323.5 kB / 0.6222 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005084/0.5542, allocations: 2.461 MB / 0.6246 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002524/0.5567, allocations: 226.5 kB / 0.6248 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000306/0.5571, allocations: 67.92 kB / 0.6248 GB, free: 11.53 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.0007111/0.5578, allocations: 245.5 kB / 0.6251 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000416/0.5582, allocations: 118.4 kB / 0.6252 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01111/0.5693, allocations: 3.911 MB / 0.629 GB, free: 7.238 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.036e-05/0.5694, allocations: 15.94 kB / 0.629 GB, free: 7.223 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.5694, allocations: 0 / 0.629 GB, free: 7.223 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.413e-05/0.5694, allocations: 3.984 kB / 0.629 GB, free: 7.219 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002126/0.5716, allocations: 1.21 MB / 0.6302 GB, free: 5.961 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-05/0.5716, allocations: 0 / 0.6302 GB, free: 5.961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00074/0.5724, allocations: 119.8 kB / 0.6303 GB, free: 5.844 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00531/0.5777, allocations: 1.677 MB / 0.632 GB, free: 4.164 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001768/0.5779, allocations: 20 kB / 0.632 GB, free: 4.145 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01923/0.5971, allocations: 7.845 MB / 0.6396 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.5972, allocations: 0 / 0.6396 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01491/0.6121, allocations: 4.803 MB / 0.6443 GB, free: 7.328 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009029/0.6131, allocations: 235.4 kB / 0.6446 GB, free: 7.078 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000558/0.6136, allocations: 20 kB / 0.6446 GB, free: 7.059 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001652/0.6153, allocations: 115.9 kB / 0.6447 GB, free: 6.945 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006788/0.616, allocations: 168.7 kB / 0.6449 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/0.6161, allocations: 24 kB / 0.6449 GB, free: 6.758 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0016/0.6177, allocations: 0.7602 MB / 0.6456 GB, free: 5.988 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6178, allocations: 3.938 kB / 0.6456 GB, free: 5.984 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002127/0.6199, allocations: 443.8 kB / 0.646 GB, free: 5.551 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.0004244/0.6203, allocations: 141.2 kB / 0.6462 GB, free: 5.406 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007837/0.6282, allocations: 2.548 MB / 0.6487 GB, free: 2.855 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.6282, allocations: 8 kB / 0.6487 GB, free: 2.848 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004537/0.6328, allocations: 1.453 MB / 0.6501 GB, free: 1.383 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/0.6344, allocations: 88.25 kB / 0.6502 GB, free: 1.297 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005457/0.6399, allocations: 3.028 MB / 0.6531 GB, free: 14.23 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007185/0.6406, allocations: 1.058 MB / 0.6542 GB, free: 13.15 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005342/0.6412, allocations: 71.42 kB / 0.6542 GB, free: 13.08 MB / 462.1 MB Notification: Performance of SimCode: time 1.403e-06/0.6412, allocations: 0 / 0.6542 GB, free: 13.08 MB / 462.1 MB Notification: Performance of Templates: time 0.03072/0.6719, allocations: 18.94 MB / 0.6727 GB, free: 10.17 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)