Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_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.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08118/0.08118, allocations: 12.2 MB / 27.18 MB, free: 1.516 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.00082/0.00082, allocations: 104.5 kB / 30.68 MB, free: 4.871 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.261/1.261, allocations: 205.4 MB / 239.5 MB, free: 11.57 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.00103/0.00103, allocations: 180.5 kB / 290.6 MB, free: 15.8 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4308/0.4308, allocations: 78.54 MB / 420.1 MB, free: 32.66 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.0008594/0.0008595, allocations: 31.98 kB / 0.4894 GB, free: 15.93 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.31, allocations: 69.24 MB / 0.5571 GB, free: 37.92 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.005097/0.3152, allocations: 7.474 MB / 0.5644 GB, free: 32.4 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003674/0.3189, allocations: 2.497 MB / 0.5668 GB, free: 30.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006151/0.3195, allocations: 11.84 kB / 0.5668 GB, free: 30.61 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004294/0.3199, allocations: 207.7 kB / 0.567 GB, free: 30.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00251/0.3225, allocations: 1.263 MB / 0.5682 GB, free: 29.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008647/0.3233, allocations: 0.4898 MB / 0.5687 GB, free: 29.51 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001835/0.3252, allocations: 2.264 MB / 0.5709 GB, free: 28.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003647/0.3256, allocations: 270.9 kB / 0.5712 GB, free: 28.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008041/0.3264, allocations: 0.8568 MB / 0.572 GB, free: 27.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009855/0.3274, allocations: 1.222 MB / 0.5732 GB, free: 27.47 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001951/0.3276, allocations: 109.2 kB / 0.5733 GB, free: 27.47 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000547/0.3281, allocations: 272.3 kB / 0.5736 GB, free: 27.42 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002785/0.3284, allocations: 419 kB / 0.574 GB, free: 27.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002332/0.3286, allocations: 290.3 kB / 0.5743 GB, free: 27.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.3299, allocations: 1.738 MB / 0.576 GB, free: 26.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3299, allocations: 3.938 kB / 0.576 GB, free: 26.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3299, allocations: 0 / 0.576 GB, free: 26.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.292e-05/0.3299, allocations: 0 / 0.576 GB, free: 26.54 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.01694/0.3469, allocations: 4.789 MB / 0.5806 GB, free: 25.06 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.3469, allocations: 14.08 kB / 0.5807 GB, free: 25.06 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003675/0.3506, allocations: 0.5751 MB / 0.5812 GB, free: 24.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002166/0.3528, allocations: 1.167 MB / 0.5824 GB, free: 24.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000232/0.353, allocations: 275.6 kB / 0.5826 GB, free: 23.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002085/0.3533, allocations: 113.4 kB / 0.5827 GB, free: 23.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002154/0.3554, allocations: 1.136 MB / 0.5838 GB, free: 23.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.3554, allocations: 0 / 0.5838 GB, free: 23.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.141e-05/0.3555, allocations: 38.81 kB / 0.5839 GB, free: 23.47 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.3556, allocations: 21.38 kB / 0.5839 GB, free: 23.47 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00229/0.3579, allocations: 1.23 MB / 0.5851 GB, free: 23.07 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.006691/0.3646, allocations: 4.644 MB / 0.5896 GB, free: 19.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002694/0.3673, allocations: 2.185 MB / 0.5918 GB, free: 18.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/0.3686, allocations: 0.8448 MB / 0.5926 GB, free: 17.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001194/0.3687, allocations: 18.8 kB / 0.5926 GB, free: 17.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.3688, allocations: 51.58 kB / 0.5927 GB, free: 17.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=130): time 3.076e-06/0.3688, allocations: 0 / 0.5927 GB, free: 17.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=130): time 0.02376/0.3925, allocations: 7.687 MB / 0.6002 GB, free: 13.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.3926, allocations: 64.72 kB / 0.6002 GB, free: 13.17 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0023/0.3949, allocations: 1.643 MB / 0.6018 GB, free: 11.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003321/0.3953, allocations: 57.7 kB / 0.6019 GB, free: 11.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004066/0.3957, allocations: 0.5536 MB / 0.6024 GB, free: 10.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004985/0.3962, allocations: 0.4971 MB / 0.6029 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000287/0.3965, allocations: 56 kB / 0.603 GB, free: 10.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3966, allocations: 407.6 kB / 0.6033 GB, free: 9.934 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002015/0.3986, allocations: 1.181 MB / 0.6045 GB, free: 8.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002198/0.4008, allocations: 1.395 MB / 0.6059 GB, free: 7.328 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002309/0.4032, allocations: 1.306 MB / 0.6071 GB, free: 6.008 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.4032, allocations: 3.938 kB / 0.6071 GB, free: 6.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.008116/0.4113, allocations: 4.27 MB / 0.6113 GB, free: 1.691 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/0.4114, allocations: 8 kB / 0.6113 GB, free: 1.684 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.4114, allocations: 4 kB / 0.6113 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009717/0.4211, allocations: 3.081 MB / 0.6143 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002449/0.4236, allocations: 483.4 kB / 0.6148 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00565/0.4293, allocations: 2.695 MB / 0.6174 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002854/0.4322, allocations: 269.8 kB / 0.6177 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004045/0.4326, allocations: 95.97 kB / 0.6178 GB, free: 11.04 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {30 38} Notification: Performance of prepare postOptimizeDAE: time 0.0008319/0.4334, allocations: 313.9 kB / 0.6181 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005042/0.4339, allocations: 165.8 kB / 0.6182 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01066/0.4446, allocations: 4.124 MB / 0.6223 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-05/0.4447, allocations: 12 kB / 0.6223 GB, free: 6.406 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.4447, allocations: 4 kB / 0.6223 GB, free: 6.402 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.543e-05/0.4447, allocations: 15.89 kB / 0.6223 GB, free: 6.387 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 postOpt removeSimpleEquations (simulation): time 0.01412/0.4588, allocations: 6.221 MB / 0.6284 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/0.4589, allocations: 0 / 0.6284 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/0.46, allocations: 163.8 kB / 0.6285 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005222/0.4653, allocations: 1.703 MB / 0.6302 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002481/0.4655, allocations: 35.98 kB / 0.6302 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01737/0.4829, allocations: 7.803 MB / 0.6378 GB, free: 6.152 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.483, allocations: 0 / 0.6378 GB, free: 6.152 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01332/0.4963, allocations: 5.174 MB / 0.6429 GB, free: 0.957 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008774/0.4972, allocations: 314.7 kB / 0.6432 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006335/0.4979, allocations: 28 kB / 0.6432 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001734/0.4996, allocations: 99.92 kB / 0.6433 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006181/0.5003, allocations: 189.4 kB / 0.6435 GB, free: 324 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/0.5004, allocations: 36 kB / 0.6435 GB, free: 288 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00185/0.5023, allocations: 1.075 MB / 0.6446 GB, free: 15.21 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5023, allocations: 0 / 0.6446 GB, free: 15.21 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002289/0.5046, allocations: 0.5973 MB / 0.6452 GB, free: 14.61 MB / 462.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {16 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003715/0.505, allocations: 152.1 kB / 0.6453 GB, free: 14.45 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008196/0.5132, allocations: 3.168 MB / 0.6484 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.5132, allocations: 4 kB / 0.6484 GB, free: 11.28 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004233/0.5175, allocations: 1.653 MB / 0.65 GB, free: 9.617 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001706/0.5192, allocations: 129.5 kB / 0.6501 GB, free: 9.488 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006791/0.526, allocations: 4.134 MB / 0.6542 GB, free: 5.352 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008443/0.5269, allocations: 1.23 MB / 0.6554 GB, free: 4.09 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009111/0.5278, allocations: 163.2 kB / 0.6555 GB, free: 3.926 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000645/0.5285, allocations: 103.4 kB / 0.6556 GB, free: 3.824 MB / 462.1 MB Notification: Performance of SimCode: time 1.263e-06/0.5285, allocations: 0 / 0.6556 GB, free: 3.824 MB / 462.1 MB Notification: Performance of Templates: time 0.04327/0.5718, allocations: 26.45 MB / 0.6815 GB, free: 9.395 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.makefile Environment - environmentSimulation: (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1) Environment - environmentSimulation: