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-master/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-master/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-master/package.mo): time 0.07849/0.07849, allocations: 12.6 MB / 28.85 MB, free: 284 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 115.4 kB / 32.45 MB, free: 3.418 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.35/1.35, allocations: 205.1 MB / 241 MB, free: 12.4 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.001712/0.001712, allocations: 191.4 kB / 291.3 MB, free: 13.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4346/0.4346, allocations: 78.52 MB / 419.9 MB, free: 11.27 MB / 302.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.002908/0.002908, allocations: 135.8 kB / 0.4895 GB, free: 10.06 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3303, allocations: 68.11 MB / 0.556 GB, free: 32.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.007181/0.3375, allocations: 8.264 MB / 0.5641 GB, free: 26.74 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005107/0.3427, allocations: 2.588 MB / 0.5666 GB, free: 24.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008742/0.3436, allocations: 10.06 kB / 0.5666 GB, free: 24.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006495/0.3443, allocations: 304.5 kB / 0.5669 GB, free: 24.33 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002946/0.3472, allocations: 1.502 MB / 0.5684 GB, free: 23.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.3483, allocations: 0.6045 MB / 0.5689 GB, free: 22.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00243/0.3507, allocations: 2.562 MB / 0.5714 GB, free: 21.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004863/0.3512, allocations: 320.3 kB / 0.5718 GB, free: 20.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001473/0.3527, allocations: 1.012 MB / 0.5727 GB, free: 20.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001472/0.3542, allocations: 1.357 MB / 0.5741 GB, free: 19.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003811/0.3546, allocations: 202.9 kB / 0.5743 GB, free: 19.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009225/0.3555, allocations: 382 kB / 0.5746 GB, free: 19.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003851/0.3559, allocations: 0.5116 MB / 0.5751 GB, free: 18.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000853/0.3567, allocations: 0.9917 MB / 0.5761 GB, free: 18.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00208/0.3588, allocations: 2.371 MB / 0.5784 GB, free: 16.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3588, allocations: 0 / 0.5784 GB, free: 16.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3589, allocations: 0 / 0.5784 GB, free: 16.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.139e-05/0.3589, allocations: 0 / 0.5784 GB, free: 16.36 MB / 398.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.01837/0.3773, allocations: 4.944 MB / 0.5832 GB, free: 11.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.3773, allocations: 19.92 kB / 0.5833 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003218/0.3805, allocations: 0.5799 MB / 0.5838 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/0.3822, allocations: 1.216 MB / 0.585 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002248/0.3824, allocations: 268.8 kB / 0.5853 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001855/0.3826, allocations: 119.9 kB / 0.5854 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/0.3844, allocations: 1.1 MB / 0.5865 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.3844, allocations: 0 / 0.5865 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.063e-05/0.3845, allocations: 28 kB / 0.5865 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.3845, allocations: 24 kB / 0.5865 GB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002015/0.3866, allocations: 1.175 MB / 0.5876 GB, free: 6.777 MB / 398.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.006062/0.3926, allocations: 4.598 MB / 0.5921 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00275/0.3954, allocations: 2.136 MB / 0.5942 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/0.3969, allocations: 0.791 MB / 0.595 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001328/0.397, allocations: 29.28 kB / 0.595 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.3971, allocations: 51.81 kB / 0.5951 GB, free: 14.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=130): time 4.328e-06/0.3971, allocations: 3.984 kB / 0.5951 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=130): time 0.02673/0.4238, allocations: 6.687 MB / 0.6016 GB, free: 8.023 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.4239, allocations: 64.72 kB / 0.6017 GB, free: 7.949 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002656/0.4266, allocations: 1.655 MB / 0.6033 GB, free: 6.285 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002772/0.4269, allocations: 61.7 kB / 0.6033 GB, free: 6.219 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004873/0.4274, allocations: 0.5535 MB / 0.6039 GB, free: 5.656 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005289/0.4279, allocations: 0.4932 MB / 0.6044 GB, free: 5.156 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008724/0.4288, allocations: 0.5094 MB / 0.6049 GB, free: 4.641 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.4289, allocations: 309.1 kB / 0.6052 GB, free: 4.336 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002208/0.4311, allocations: 1.142 MB / 0.6063 GB, free: 3.191 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002366/0.4335, allocations: 1.364 MB / 0.6076 GB, free: 1.801 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004271/0.4378, allocations: 2.338 MB / 0.6099 GB, free: 15.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.4378, allocations: 0 / 0.6099 GB, free: 15.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.009433/0.4472, allocations: 4.082 MB / 0.6139 GB, free: 11.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.4473, allocations: 8 kB / 0.6139 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.4473, allocations: 0 / 0.6139 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01108/0.4584, allocations: 2.827 MB / 0.6166 GB, free: 8.461 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002376/0.4608, allocations: 483.3 kB / 0.6171 GB, free: 7.988 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005866/0.4667, allocations: 2.527 MB / 0.6196 GB, free: 5.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003007/0.4697, allocations: 245.8 kB / 0.6198 GB, free: 5.188 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003752/0.4701, allocations: 87.97 kB / 0.6199 GB, free: 5.102 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 (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 {(30,38)} Notification: Performance of prepare postOptimizeDAE: time 0.0008047/0.4709, allocations: 321.3 kB / 0.6202 GB, free: 4.777 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005944/0.4715, allocations: 165.8 kB / 0.6204 GB, free: 4.613 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01075/0.4822, allocations: 3.546 MB / 0.6238 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/0.4823, allocations: 16 kB / 0.6238 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.4823, allocations: 0 / 0.6238 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/0.4823, allocations: 7.969 kB / 0.6238 GB, free: 1.023 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.0132/0.4955, allocations: 5.654 MB / 0.6294 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/0.4956, allocations: 0 / 0.6294 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.4966, allocations: 163.8 kB / 0.6295 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005357/0.502, allocations: 1.492 MB / 0.631 GB, free: 9.543 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001616/0.5022, allocations: 31.98 kB / 0.631 GB, free: 9.512 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01946/0.5216, allocations: 7.848 MB / 0.6387 GB, free: 1.527 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5217, allocations: 0 / 0.6387 GB, free: 1.527 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01306/0.5348, allocations: 4.554 MB / 0.6431 GB, free: 12.94 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/0.5359, allocations: 302.7 kB / 0.6434 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006821/0.5366, allocations: 28 kB / 0.6434 GB, free: 12.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00199/0.5386, allocations: 79.92 kB / 0.6435 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007091/0.5394, allocations: 193.5 kB / 0.6437 GB, free: 12.33 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001387/0.5395, allocations: 32 kB / 0.6437 GB, free: 12.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002103/0.5416, allocations: 1.098 MB / 0.6448 GB, free: 11.21 MB / 462.1 MB Notification: Performance of sort global known variables: time 6.91e-07/0.5417, allocations: 0 / 0.6448 GB, free: 11.21 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00252/0.5442, allocations: 0.5933 MB / 0.6454 GB, free: 10.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 (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 {(16,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004657/0.5447, allocations: 162.9 kB / 0.6455 GB, free: 10.45 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00902/0.5537, allocations: 2.991 MB / 0.6485 GB, free: 7.461 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5537, allocations: 0 / 0.6485 GB, free: 7.461 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004506/0.5582, allocations: 1.535 MB / 0.65 GB, free: 5.906 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001735/0.56, allocations: 129.6 kB / 0.6501 GB, free: 5.777 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006624/0.5666, allocations: 3.468 MB / 0.6535 GB, free: 2.293 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/0.5676, allocations: 1.238 MB / 0.6547 GB, free: 1.023 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008519/0.5685, allocations: 163.2 kB / 0.6548 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006048/0.5691, allocations: 111.3 kB / 0.6549 GB, free: 0.75 MB / 462.1 MB Notification: Performance of SimCode: time 8.31e-07/0.5691, allocations: 0 / 0.6549 GB, free: 0.75 MB / 462.1 MB Notification: Performance of Templates: time 0.05129/0.6204, allocations: 30.51 MB / 0.6847 GB, free: 2.27 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.makefile (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 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)