Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.Aggregated_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_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.001108/0.001109, allocations: 107.6 kB / 15.99 MB, free: 6.355 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.259/1.259, allocations: 222.9 MB / 239.6 MB, free: 4.785 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.0015/0.0015, allocations: 188.5 kB / 289.9 MB, free: 2.504 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4357/0.4357, allocations: 78.52 MB / 418.6 MB, free: 3.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 75.88 kB / 497.6 MB, free: 6.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1356, allocations: 68.17 MB / 0.5525 GB, free: 2.527 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.2369/0.3726, allocations: 6.334 MB / 0.5587 GB, free: 37.13 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004157/0.3768, allocations: 2.132 MB / 0.5608 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001017/0.3778, allocations: 8 kB / 0.5608 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006445/0.3785, allocations: 190 kB / 0.561 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002816/0.3813, allocations: 1.048 MB / 0.562 GB, free: 36.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.3824, allocations: 448.5 kB / 0.5624 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00202/0.3844, allocations: 1.83 MB / 0.5642 GB, free: 36.19 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003573/0.3848, allocations: 210.1 kB / 0.5644 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008529/0.3856, allocations: 0.7055 MB / 0.5651 GB, free: 36.01 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008623/0.3865, allocations: 0.9522 MB / 0.566 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001988/0.3867, allocations: 146.1 kB / 0.5662 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005478/0.3873, allocations: 321.6 kB / 0.5665 GB, free: 35.81 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002336/0.3875, allocations: 377.4 kB / 0.5668 GB, free: 35.74 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004831/0.388, allocations: 0.69 MB / 0.5675 GB, free: 35.53 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.3892, allocations: 1.319 MB / 0.5688 GB, free: 35.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3892, allocations: 1.75 kB / 0.5688 GB, free: 35.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3892, allocations: 0 / 0.5688 GB, free: 35.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.04e-05/0.3892, allocations: 0 / 0.5688 GB, free: 35.34 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.01424/0.4035, allocations: 3.711 MB / 0.5724 GB, free: 34.44 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.4035, allocations: 14.12 kB / 0.5724 GB, free: 34.44 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002881/0.4064, allocations: 499.8 kB / 0.5729 GB, free: 34.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.4078, allocations: 0.9 MB / 0.5738 GB, free: 33.97 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002372/0.408, allocations: 230.7 kB / 0.574 GB, free: 33.81 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/0.4082, allocations: 79.31 kB / 0.5741 GB, free: 33.81 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/0.41, allocations: 0.8829 MB / 0.5749 GB, free: 33.76 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.41, allocations: 3.938 kB / 0.5749 GB, free: 33.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.073e-05/0.4101, allocations: 28.91 kB / 0.575 GB, free: 33.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.4101, allocations: 16.06 kB / 0.575 GB, free: 33.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/0.4121, allocations: 0.9939 MB / 0.576 GB, free: 33.74 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.004798/0.4169, allocations: 2.939 MB / 0.5788 GB, free: 32.76 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002614/0.4195, allocations: 1.093 MB / 0.5799 GB, free: 32.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001358/0.4209, allocations: 0.6619 MB / 0.5805 GB, free: 32.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001173/0.421, allocations: 21.53 kB / 0.5806 GB, free: 32.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.4211, allocations: 44.09 kB / 0.5806 GB, free: 32.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.035e-06/0.4211, allocations: 0 / 0.5806 GB, free: 32.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.02687/0.448, allocations: 6.487 MB / 0.5869 GB, free: 30.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.4481, allocations: 62.61 kB / 0.587 GB, free: 30.76 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002402/0.4505, allocations: 1.139 MB / 0.5881 GB, free: 30.26 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003668/0.4509, allocations: 50.61 kB / 0.5882 GB, free: 30.21 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003851/0.4513, allocations: 385.8 kB / 0.5885 GB, free: 29.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005608/0.4518, allocations: 364.2 kB / 0.5889 GB, free: 29.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001202/0.453, allocations: 368.5 kB / 0.5892 GB, free: 29.46 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.428e-05/0.4531, allocations: 306.8 kB / 0.5895 GB, free: 29.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00222/0.4553, allocations: 0.9091 MB / 0.5904 GB, free: 28.81 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002178/0.4575, allocations: 0.9361 MB / 0.5913 GB, free: 28.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003825/0.4614, allocations: 1.808 MB / 0.5931 GB, free: 27.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.4614, allocations: 1.969 kB / 0.5931 GB, free: 27.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007515/0.4689, allocations: 3.039 MB / 0.5961 GB, free: 26.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.469, allocations: 9.688 kB / 0.5961 GB, free: 26.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.469, allocations: 1.281 kB / 0.5961 GB, free: 26.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009608/0.4786, allocations: 2.28 MB / 0.5983 GB, free: 26.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001888/0.4805, allocations: 322.8 kB / 0.5986 GB, free: 26.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005535/0.4861, allocations: 2.259 MB / 0.6008 GB, free: 24.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/0.4887, allocations: 204.5 kB / 0.601 GB, free: 24.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000384/0.4891, allocations: 62.25 kB / 0.6011 GB, free: 24.86 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.0007421/0.4898, allocations: 247 kB / 0.6013 GB, free: 24.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004384/0.4903, allocations: 122.6 kB / 0.6014 GB, free: 24.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01106/0.5014, allocations: 3.297 MB / 0.6046 GB, free: 23.61 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.772e-05/0.5014, allocations: 14.53 kB / 0.6046 GB, free: 23.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.5014, allocations: 0.5625 kB / 0.6046 GB, free: 23.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.823e-05/0.5015, allocations: 7.922 kB / 0.6047 GB, free: 23.6 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002177/0.5037, allocations: 1.211 MB / 0.6058 GB, free: 22.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.5037, allocations: 5.344 kB / 0.6058 GB, free: 22.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008088/0.5045, allocations: 114 kB / 0.6059 GB, free: 22.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005094/0.5096, allocations: 1.446 MB / 0.6074 GB, free: 21.97 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002115/0.5099, allocations: 20.78 kB / 0.6074 GB, free: 21.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01759/0.5275, allocations: 7.829 MB / 0.615 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.5275, allocations: 5.438 kB / 0.615 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01121/0.5387, allocations: 4.128 MB / 0.6191 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005668/0.5393, allocations: 231.4 kB / 0.6193 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004354/0.5398, allocations: 16 kB / 0.6193 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/0.5412, allocations: 87.91 kB / 0.6194 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005691/0.5418, allocations: 172.8 kB / 0.6195 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/0.5419, allocations: 35.98 kB / 0.6196 GB, free: 10.65 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001059/0.543, allocations: 0.7563 MB / 0.6203 GB, free: 9.887 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.543, allocations: 0 / 0.6203 GB, free: 9.887 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001565/0.5446, allocations: 435.7 kB / 0.6207 GB, free: 9.461 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 (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.0003223/0.5449, allocations: 149.2 kB / 0.6209 GB, free: 9.309 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006784/0.5517, allocations: 2.407 MB / 0.6232 GB, free: 6.906 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.5517, allocations: 0 / 0.6232 GB, free: 6.906 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00372/0.5555, allocations: 1.299 MB / 0.6245 GB, free: 5.594 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/0.5569, allocations: 95.72 kB / 0.6246 GB, free: 5.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004702/0.5616, allocations: 2.847 MB / 0.6274 GB, free: 2.695 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/0.5621, allocations: 1.063 MB / 0.6284 GB, free: 1.605 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005238/0.5626, allocations: 75.42 kB / 0.6285 GB, free: 1.531 MB / 430.1 MB Notification: Performance of SimCode: time 1.453e-06/0.5627, allocations: 0 / 0.6285 GB, free: 1.531 MB / 430.1 MB Notification: Performance of Templates: time 0.02687/0.5895, allocations: 19.07 MB / 0.6471 GB, free: 14.63 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.makefile (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & ./OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)