Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_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.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 113.9 kB / 15.99 MB, free: 6.348 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.441/1.441, allocations: 222.9 MB / 239.6 MB, free: 4.703 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.002033/0.002033, allocations: 188.4 kB / 289.9 MB, free: 2.453 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5885/0.5885, allocations: 92.6 MB / 432.7 MB, free: 8.715 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002641/0.002641, allocations: 83.88 kB / 0.5029 GB, free: 7.25 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.4088, allocations: 71.39 MB / 0.5726 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.007008/0.4159, allocations: 8.49 MB / 0.5809 GB, free: 31.15 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004984/0.4209, allocations: 2.623 MB / 0.5834 GB, free: 29.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.4222, allocations: 11.53 kB / 0.5834 GB, free: 29.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007423/0.423, allocations: 242.9 kB / 0.5837 GB, free: 29.22 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002566/0.4256, allocations: 1.017 MB / 0.5847 GB, free: 28.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.4269, allocations: 0.6354 MB / 0.5853 GB, free: 28.24 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002362/0.4293, allocations: 2.362 MB / 0.5876 GB, free: 27.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004361/0.4297, allocations: 319.4 kB / 0.5879 GB, free: 26.97 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.431, allocations: 0.9565 MB / 0.5888 GB, free: 26.51 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/0.4323, allocations: 1.308 MB / 0.5901 GB, free: 25.92 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003704/0.4327, allocations: 202.6 kB / 0.5903 GB, free: 25.92 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008896/0.4336, allocations: 382.9 kB / 0.5907 GB, free: 25.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003758/0.4339, allocations: 0.5011 MB / 0.5912 GB, free: 25.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007598/0.4347, allocations: 0.9719 MB / 0.5921 GB, free: 24.9 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001805/0.4365, allocations: 1.788 MB / 0.5939 GB, free: 24.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.565e-06/0.4365, allocations: 0 / 0.5939 GB, free: 24.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4366, allocations: 3.938 kB / 0.5939 GB, free: 24.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.494e-05/0.4366, allocations: 4 kB / 0.5939 GB, free: 24.24 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.01618/0.4528, allocations: 4.093 MB / 0.5979 GB, free: 22.69 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.4528, allocations: 9.719 kB / 0.5979 GB, free: 22.69 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003803/0.4567, allocations: 0.5817 MB / 0.5984 GB, free: 22.53 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002321/0.459, allocations: 1.212 MB / 0.5996 GB, free: 21.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002832/0.4593, allocations: 273.8 kB / 0.5999 GB, free: 21.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002584/0.4596, allocations: 115.2 kB / 0.6 GB, free: 21.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002494/0.4621, allocations: 1.089 MB / 0.6011 GB, free: 21.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/0.4621, allocations: 1 kB / 0.6011 GB, free: 21.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.4622, allocations: 31.38 kB / 0.6011 GB, free: 21.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.488e-05/0.4622, allocations: 19.72 kB / 0.6011 GB, free: 21.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002637/0.4649, allocations: 1.18 MB / 0.6023 GB, free: 20.65 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.009061/0.474, allocations: 4.623 MB / 0.6068 GB, free: 17.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00324/0.4772, allocations: 2.145 MB / 0.6089 GB, free: 16.49 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/0.4787, allocations: 0.7964 MB / 0.6096 GB, free: 16.17 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001445/0.4789, allocations: 27.5 kB / 0.6097 GB, free: 16.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.4789, allocations: 49 kB / 0.6097 GB, free: 16.11 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 4.138e-06/0.4789, allocations: 0 / 0.6097 GB, free: 16.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=130): time 0.0277/0.5066, allocations: 6.69 MB / 0.6162 GB, free: 14.01 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.5067, allocations: 69.64 kB / 0.6163 GB, free: 13.94 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002929/0.5097, allocations: 1.653 MB / 0.6179 GB, free: 13.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005087/0.5102, allocations: 60.17 kB / 0.618 GB, free: 12.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003761/0.5106, allocations: 0.5499 MB / 0.6185 GB, free: 12.47 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005471/0.5111, allocations: 0.4927 MB / 0.619 GB, free: 12.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009554/0.5121, allocations: 0.5112 MB / 0.6195 GB, free: 11.74 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.354e-05/0.5121, allocations: 310.1 kB / 0.6198 GB, free: 11.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002109/0.5143, allocations: 1.14 MB / 0.6209 GB, free: 10.85 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002316/0.5166, allocations: 1.365 MB / 0.6222 GB, free: 10.1 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003777/0.5204, allocations: 2.341 MB / 0.6245 GB, free: 8.086 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.5204, allocations: 0 / 0.6245 GB, free: 8.086 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.008164/0.5286, allocations: 4.078 MB / 0.6285 GB, free: 3.969 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.5286, allocations: 4 kB / 0.6285 GB, free: 3.965 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.5287, allocations: 7.984 kB / 0.6285 GB, free: 3.957 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01007/0.5387, allocations: 2.835 MB / 0.6313 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002485/0.5413, allocations: 483.3 kB / 0.6318 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00592/0.5472, allocations: 2.532 MB / 0.6342 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003484/0.5507, allocations: 245.9 kB / 0.6345 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003168/0.5511, allocations: 87.97 kB / 0.6345 GB, free: 13.75 MB / 446.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.0007504/0.5518, allocations: 313.3 kB / 0.6348 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004405/0.5523, allocations: 173.8 kB / 0.635 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01112/0.5634, allocations: 3.538 MB / 0.6385 GB, free: 9.707 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.241e-05/0.5635, allocations: 12 kB / 0.6385 GB, free: 9.695 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.988e-06/0.5635, allocations: 0 / 0.6385 GB, free: 9.695 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-05/0.5635, allocations: 7.969 kB / 0.6385 GB, free: 9.688 MB / 446.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.01487/0.5784, allocations: 5.67 MB / 0.644 GB, free: 3.848 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.662e-05/0.5785, allocations: 11.94 kB / 0.644 GB, free: 3.836 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/0.5796, allocations: 163.8 kB / 0.6442 GB, free: 3.676 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005582/0.5852, allocations: 1.492 MB / 0.6456 GB, free: 2.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002637/0.5855, allocations: 28 kB / 0.6457 GB, free: 2.152 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0197/0.6052, allocations: 7.853 MB / 0.6533 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6053, allocations: 0 / 0.6533 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01406/0.6194, allocations: 4.562 MB / 0.6578 GB, free: 5.57 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/0.6205, allocations: 306.7 kB / 0.6581 GB, free: 5.25 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003855/0.6209, allocations: 24 kB / 0.6581 GB, free: 5.227 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001615/0.6225, allocations: 75.92 kB / 0.6582 GB, free: 5.152 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006704/0.6232, allocations: 197.5 kB / 0.6584 GB, free: 4.961 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.907e-05/0.6233, allocations: 35.98 kB / 0.6584 GB, free: 4.926 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001676/0.625, allocations: 1.086 MB / 0.6595 GB, free: 3.844 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.625, allocations: 0 / 0.6595 GB, free: 3.844 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002064/0.6271, allocations: 0.5972 MB / 0.6601 GB, free: 3.246 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.0003829/0.6274, allocations: 159 kB / 0.6602 GB, free: 3.082 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00962/0.6371, allocations: 3.041 MB / 0.6632 GB, free: 40 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.6372, allocations: 4 kB / 0.6632 GB, free: 36 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005111/0.6423, allocations: 1.52 MB / 0.6647 GB, free: 14.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/0.6444, allocations: 133.1 kB / 0.6648 GB, free: 14.37 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00825/0.6527, allocations: 4.069 MB / 0.6688 GB, free: 10.27 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/0.6538, allocations: 1.234 MB / 0.67 GB, free: 9.008 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00121/0.655, allocations: 111.4 kB / 0.6701 GB, free: 8.898 MB / 478.1 MB Notification: Performance of SimCode: time 1.733e-06/0.655, allocations: 4 kB / 0.6701 GB, free: 8.895 MB / 478.1 MB Notification: Performance of Templates: time 0.04301/0.698, allocations: 26.49 MB / 0.6959 GB, free: 14.39 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & ./OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)