Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08651/0.08651, allocations: 12.2 MB / 27.43 MB, free: 1.387 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 120.4 kB / 30.94 MB, free: 4.664 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 205.1 MB / 239.4 MB, free: 10.93 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 188.5 kB / 289.6 MB, free: 15.85 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4931/0.4931, allocations: 78.51 MB / 418.1 MB, free: 31.74 MB / 318.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002614/0.002614, allocations: 131.8 kB / 498.4 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3645, allocations: 68.03 MB / 0.5532 GB, free: 37.62 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.005692/0.3703, allocations: 6.363 MB / 0.5594 GB, free: 32.94 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004138/0.3745, allocations: 2.169 MB / 0.5615 GB, free: 31.41 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005869/0.3751, allocations: 8.875 kB / 0.5615 GB, free: 31.41 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005258/0.3756, allocations: 184.1 kB / 0.5617 GB, free: 31.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002646/0.3783, allocations: 1.071 MB / 0.5627 GB, free: 30.67 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.3794, allocations: 443.8 kB / 0.5631 GB, free: 30.44 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002025/0.3814, allocations: 1.833 MB / 0.5649 GB, free: 29.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003868/0.3818, allocations: 207.2 kB / 0.5651 GB, free: 29.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008682/0.3827, allocations: 0.707 MB / 0.5658 GB, free: 29.19 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008476/0.3835, allocations: 0.9496 MB / 0.5667 GB, free: 28.76 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001795/0.3837, allocations: 150.7 kB / 0.5669 GB, free: 28.76 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005414/0.3843, allocations: 322.2 kB / 0.5672 GB, free: 28.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002441/0.3845, allocations: 376.3 kB / 0.5676 GB, free: 28.46 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004585/0.385, allocations: 0.69 MB / 0.5682 GB, free: 28.01 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.3863, allocations: 1.699 MB / 0.5699 GB, free: 27.28 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.3864, allocations: 2.625 kB / 0.5699 GB, free: 27.28 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3864, allocations: 0 / 0.5699 GB, free: 27.28 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.827e-05/0.3864, allocations: 0 / 0.5699 GB, free: 27.28 MB / 414.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.01455/0.401, allocations: 3.716 MB / 0.5735 GB, free: 26 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/0.401, allocations: 16.05 kB / 0.5735 GB, free: 25.99 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003066/0.4041, allocations: 495.6 kB / 0.574 GB, free: 25.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/0.4057, allocations: 0.8963 MB / 0.5749 GB, free: 25.26 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002817/0.406, allocations: 227.9 kB / 0.5751 GB, free: 25.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/0.4062, allocations: 87.66 kB / 0.5752 GB, free: 25.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002213/0.4084, allocations: 0.8879 MB / 0.5761 GB, free: 24.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.4084, allocations: 0 / 0.5761 GB, free: 24.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.845e-05/0.4085, allocations: 29.47 kB / 0.5761 GB, free: 24.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.325e-05/0.4086, allocations: 15.22 kB / 0.5761 GB, free: 24.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002396/0.411, allocations: 0.9847 MB / 0.5771 GB, free: 24.38 MB / 414.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.005977/0.417, allocations: 2.938 MB / 0.5799 GB, free: 22.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002928/0.4199, allocations: 1.098 MB / 0.581 GB, free: 22.35 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001411/0.4213, allocations: 0.6588 MB / 0.5816 GB, free: 22.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.4215, allocations: 20.98 kB / 0.5817 GB, free: 22.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.4215, allocations: 44.41 kB / 0.5817 GB, free: 22.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=94): time 3.286e-06/0.4215, allocations: 0 / 0.5817 GB, free: 22.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=94): time 0.02688/0.4484, allocations: 6.489 MB / 0.588 GB, free: 19.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.16e-05/0.4485, allocations: 61.28 kB / 0.5881 GB, free: 19.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002216/0.4507, allocations: 1.141 MB / 0.5892 GB, free: 18.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003328/0.4511, allocations: 50.58 kB / 0.5893 GB, free: 18.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.4513, allocations: 383.8 kB / 0.5896 GB, free: 18.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00038/0.4517, allocations: 367.4 kB / 0.59 GB, free: 18.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006712/0.4524, allocations: 364.8 kB / 0.5903 GB, free: 17.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.815e-05/0.4525, allocations: 309 kB / 0.5906 GB, free: 17.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001786/0.4543, allocations: 0.9055 MB / 0.5915 GB, free: 17.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/0.4561, allocations: 0.9372 MB / 0.5924 GB, free: 16.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003537/0.4596, allocations: 1.806 MB / 0.5942 GB, free: 15.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.4596, allocations: 0 / 0.5942 GB, free: 15.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.006612/0.4662, allocations: 3.046 MB / 0.5972 GB, free: 13.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.4663, allocations: 11.28 kB / 0.5972 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.4663, allocations: 0 / 0.5972 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008259/0.4746, allocations: 2.28 MB / 0.5994 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001637/0.4763, allocations: 323.5 kB / 0.5997 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004486/0.4808, allocations: 2.26 MB / 0.6019 GB, free: 8.637 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002211/0.483, allocations: 210.4 kB / 0.6021 GB, free: 8.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.4831, allocations: 59.98 kB / 0.6022 GB, free: 8.371 MB / 414.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.0004919/0.4836, allocations: 245.5 kB / 0.6024 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002069/0.4838, allocations: 122.5 kB / 0.6025 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009461/0.4933, allocations: 3.305 MB / 0.6058 GB, free: 4.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.4933, allocations: 11.94 kB / 0.6058 GB, free: 4.668 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.4933, allocations: 3.938 kB / 0.6058 GB, free: 4.664 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.4934, allocations: 3.984 kB / 0.6058 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/0.4949, allocations: 1.214 MB / 0.607 GB, free: 3.398 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.4949, allocations: 0 / 0.607 GB, free: 3.398 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006585/0.4955, allocations: 119.8 kB / 0.6071 GB, free: 3.281 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004654/0.5002, allocations: 1.438 MB / 0.6085 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/0.5003, allocations: 27.92 kB / 0.6085 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01824/0.5186, allocations: 7.826 MB / 0.6161 GB, free: 9.832 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.5186, allocations: 0 / 0.6161 GB, free: 9.832 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01293/0.5316, allocations: 4.131 MB / 0.6202 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007094/0.5323, allocations: 239.3 kB / 0.6204 GB, free: 5.426 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002433/0.5326, allocations: 19.98 kB / 0.6204 GB, free: 5.406 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/0.5338, allocations: 87.91 kB / 0.6205 GB, free: 5.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005838/0.5344, allocations: 176.8 kB / 0.6207 GB, free: 5.148 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.012e-05/0.5345, allocations: 24 kB / 0.6207 GB, free: 5.125 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001038/0.5356, allocations: 0.7641 MB / 0.6214 GB, free: 4.352 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5356, allocations: 0 / 0.6214 GB, free: 4.352 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001347/0.5369, allocations: 439.7 kB / 0.6219 GB, free: 3.922 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.0003127/0.5372, allocations: 135.1 kB / 0.622 GB, free: 3.777 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007203/0.5445, allocations: 2.402 MB / 0.6243 GB, free: 1.379 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.5445, allocations: 0 / 0.6243 GB, free: 1.379 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004264/0.5488, allocations: 1.309 MB / 0.6256 GB, free: 60 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/0.5502, allocations: 92.34 kB / 0.6257 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004982/0.5552, allocations: 2.828 MB / 0.6285 GB, free: 13.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005991/0.5558, allocations: 1.057 MB / 0.6295 GB, free: 12.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005969/0.5564, allocations: 103.6 kB / 0.6296 GB, free: 11.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003228/0.5568, allocations: 71.42 kB / 0.6297 GB, free: 11.86 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5568, allocations: 4 kB / 0.6297 GB, free: 11.86 MB / 446.1 MB Notification: Performance of Templates: time 0.0339/0.5907, allocations: 22.88 MB / 0.652 GB, free: 4.984 MB / 462.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)