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.001219/0.001219, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.415/1.415, allocations: 222.9 MB / 239 MB, free: 4.723 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.001435/0.001435, allocations: 196.4 kB / 289.3 MB, free: 2.457 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5892/0.5892, allocations: 91.89 MB / 431.3 MB, free: 9.379 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002113, allocations: 71.89 kB / 0.5014 GB, free: 8.039 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4285/0.4307, allocations: 71.26 MB / 0.571 GB, free: 36.49 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.009228/0.44, allocations: 8.486 MB / 0.5793 GB, free: 31.35 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006862/0.4469, allocations: 2.628 MB / 0.5818 GB, free: 29.52 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001822/0.4488, allocations: 13.78 kB / 0.5818 GB, free: 29.52 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009393/0.4498, allocations: 232.2 kB / 0.5821 GB, free: 29.42 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00331/0.4531, allocations: 1.014 MB / 0.583 GB, free: 28.77 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.4545, allocations: 0.638 MB / 0.5837 GB, free: 28.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002766/0.4573, allocations: 2.364 MB / 0.586 GB, free: 27.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006041/0.4579, allocations: 321.4 kB / 0.5863 GB, free: 27.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001947/0.4599, allocations: 0.9575 MB / 0.5872 GB, free: 26.72 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001692/0.4616, allocations: 1.306 MB / 0.5885 GB, free: 26.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004/0.462, allocations: 203.5 kB / 0.5887 GB, free: 26.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009552/0.463, allocations: 376.3 kB / 0.589 GB, free: 26.08 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003891/0.4634, allocations: 0.5034 MB / 0.5895 GB, free: 25.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009312/0.4643, allocations: 0.9731 MB / 0.5905 GB, free: 25.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002569/0.4669, allocations: 2.3 MB / 0.5927 GB, free: 24.12 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.4669, allocations: 0 / 0.5927 GB, free: 24.12 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.4669, allocations: 0 / 0.5927 GB, free: 24.12 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.692e-05/0.467, allocations: 1.406 kB / 0.5927 GB, free: 24.12 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.01644/0.4834, allocations: 4.101 MB / 0.5967 GB, free: 22.56 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.4835, allocations: 10.78 kB / 0.5968 GB, free: 22.56 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003702/0.4872, allocations: 0.5807 MB / 0.5973 GB, free: 22.4 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002458/0.4897, allocations: 1.223 MB / 0.5985 GB, free: 21.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000314/0.49, allocations: 269.6 kB / 0.5988 GB, free: 21.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002633/0.4903, allocations: 119.9 kB / 0.5989 GB, free: 21.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002548/0.4929, allocations: 1.087 MB / 0.5999 GB, free: 20.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.4929, allocations: 0 / 0.5999 GB, free: 20.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.493, allocations: 34.41 kB / 0.6 GB, free: 20.9 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.948e-05/0.4931, allocations: 20.22 kB / 0.6 GB, free: 20.9 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002683/0.4957, allocations: 1.183 MB / 0.6012 GB, free: 20.51 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.009075/0.5048, allocations: 4.623 MB / 0.6057 GB, free: 17.83 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003256/0.5081, allocations: 2.138 MB / 0.6078 GB, free: 16.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001494/0.5096, allocations: 0.7973 MB / 0.6085 GB, free: 16.03 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000148/0.5098, allocations: 33.92 kB / 0.6086 GB, free: 16.01 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.5098, allocations: 43.78 kB / 0.6086 GB, free: 15.96 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 3.276e-06/0.5098, allocations: 1.094 kB / 0.6086 GB, free: 15.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=130): time 0.02949/0.5393, allocations: 6.684 MB / 0.6151 GB, free: 14.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.5394, allocations: 69.47 kB / 0.6152 GB, free: 14.26 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003108/0.5425, allocations: 1.654 MB / 0.6168 GB, free: 13.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005425/0.5431, allocations: 56.83 kB / 0.6169 GB, free: 13.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004219/0.5435, allocations: 0.5534 MB / 0.6174 GB, free: 12.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006406/0.5442, allocations: 0.496 MB / 0.6179 GB, free: 12.35 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009733/0.5451, allocations: 0.5076 MB / 0.6184 GB, free: 12.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.754e-05/0.5452, allocations: 301.8 kB / 0.6187 GB, free: 11.76 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002167/0.5474, allocations: 1.148 MB / 0.6198 GB, free: 11.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002363/0.5498, allocations: 1.365 MB / 0.6211 GB, free: 10.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00387/0.5537, allocations: 2.343 MB / 0.6234 GB, free: 8.422 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/0.5537, allocations: 0 / 0.6234 GB, free: 8.422 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.008078/0.5618, allocations: 4.078 MB / 0.6274 GB, free: 4.305 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.5618, allocations: 10.19 kB / 0.6274 GB, free: 4.297 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.5618, allocations: 4.188 kB / 0.6274 GB, free: 4.293 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0102/0.572, allocations: 2.83 MB / 0.6302 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002564/0.5746, allocations: 479.3 kB / 0.6306 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00585/0.5805, allocations: 2.524 MB / 0.6331 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004097/0.5846, allocations: 249.8 kB / 0.6333 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002542/0.5849, allocations: 91.97 kB / 0.6334 GB, free: 14.1 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.0009014/0.5858, allocations: 309.3 kB / 0.6337 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004702/0.5863, allocations: 173.8 kB / 0.6339 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01137/0.5977, allocations: 3.546 MB / 0.6374 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.403e-05/0.5977, allocations: 16 kB / 0.6374 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.5977, allocations: 0 / 0.6374 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.572e-05/0.5978, allocations: 3.984 kB / 0.6374 GB, free: 10.03 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.01425/0.612, allocations: 5.674 MB / 0.6429 GB, free: 4.188 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/0.6121, allocations: 3.984 kB / 0.6429 GB, free: 4.184 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/0.6132, allocations: 167.7 kB / 0.6431 GB, free: 4.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005248/0.6185, allocations: 1.496 MB / 0.6445 GB, free: 2.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002128/0.6187, allocations: 27.98 kB / 0.6446 GB, free: 2.492 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01844/0.6372, allocations: 7.845 MB / 0.6522 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.6372, allocations: 0 / 0.6522 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01328/0.6505, allocations: 4.564 MB / 0.6567 GB, free: 5.91 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/0.6515, allocations: 298.7 kB / 0.657 GB, free: 5.598 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003014/0.6519, allocations: 27.98 kB / 0.657 GB, free: 5.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00161/0.6535, allocations: 79.94 kB / 0.6571 GB, free: 5.492 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007045/0.6542, allocations: 189.5 kB / 0.6573 GB, free: 5.309 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.432e-05/0.6543, allocations: 35.98 kB / 0.6573 GB, free: 5.273 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001615/0.6559, allocations: 1.09 MB / 0.6584 GB, free: 4.188 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6559, allocations: 0 / 0.6584 GB, free: 4.188 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001922/0.6579, allocations: 0.5933 MB / 0.6589 GB, free: 3.594 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.0003519/0.6582, allocations: 159 kB / 0.6591 GB, free: 3.43 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009433/0.6677, allocations: 3.053 MB / 0.6621 GB, free: 388 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.6677, allocations: 4 kB / 0.6621 GB, free: 384 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004691/0.6724, allocations: 1.523 MB / 0.6636 GB, free: 14.84 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001851/0.6743, allocations: 129.6 kB / 0.6637 GB, free: 14.71 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007183/0.6815, allocations: 4.037 MB / 0.6676 GB, free: 10.66 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008985/0.6824, allocations: 1.234 MB / 0.6688 GB, free: 9.391 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001101/0.6835, allocations: 159.2 kB / 0.669 GB, free: 9.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004746/0.684, allocations: 103.4 kB / 0.6691 GB, free: 9.129 MB / 478.1 MB Notification: Performance of SimCode: time 7.51e-07/0.684, allocations: 0 / 0.6691 GB, free: 9.129 MB / 478.1 MB Notification: Performance of Templates: time 0.04985/0.7339, allocations: 29.78 MB / 0.6982 GB, free: 11.38 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)