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.001545/0.001545, allocations: 109.5 kB / 16.27 MB, free: 6.004 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.508/1.508, allocations: 222.9 MB / 239.9 MB, free: 4.648 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.001873/0.001873, allocations: 196.5 kB / 290.2 MB, free: 2.359 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6266/0.6266, allocations: 92.6 MB / 433 MB, free: 8.613 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002392/0.002392, allocations: 79.88 kB / 0.5034 GB, free: 6.938 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5069/0.5093, allocations: 71.4 MB / 0.5731 GB, free: 36.53 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.009101/0.5185, allocations: 8.234 MB / 0.5811 GB, free: 31.17 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00588/0.5244, allocations: 2.609 MB / 0.5837 GB, free: 29.35 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.5254, allocations: 11.38 kB / 0.5837 GB, free: 29.35 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000759/0.5262, allocations: 303.6 kB / 0.584 GB, free: 29.19 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002418/0.5287, allocations: 1.148 MB / 0.5851 GB, free: 28.45 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.53, allocations: 0.6943 MB / 0.5858 GB, free: 28.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002166/0.5322, allocations: 2.366 MB / 0.5881 GB, free: 27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004389/0.5326, allocations: 316.1 kB / 0.5884 GB, free: 26.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009214/0.5335, allocations: 0.9478 MB / 0.5893 GB, free: 26.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.5348, allocations: 1.309 MB / 0.5906 GB, free: 25.81 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003793/0.5352, allocations: 202.6 kB / 0.5908 GB, free: 25.81 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008357/0.536, allocations: 386.8 kB / 0.5911 GB, free: 25.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004159/0.5364, allocations: 0.4946 MB / 0.5916 GB, free: 25.44 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008041/0.5373, allocations: 0.9827 MB / 0.5926 GB, free: 24.79 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002268/0.5395, allocations: 2.293 MB / 0.5948 GB, free: 23.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.071e-05/0.5396, allocations: 1.547 kB / 0.5948 GB, free: 23.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5396, allocations: 3.938 kB / 0.5948 GB, free: 23.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.595e-05/0.5396, allocations: 1.375 kB / 0.5948 GB, free: 23.8 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.01624/0.5558, allocations: 4.094 MB / 0.5988 GB, free: 22.24 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/0.5559, allocations: 9.562 kB / 0.5988 GB, free: 22.24 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003698/0.5596, allocations: 0.5776 MB / 0.5994 GB, free: 22.08 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002347/0.562, allocations: 1.22 MB / 0.6006 GB, free: 21.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002874/0.5623, allocations: 273.7 kB / 0.6009 GB, free: 21.06 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002285/0.5625, allocations: 109.7 kB / 0.601 GB, free: 21.03 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002425/0.565, allocations: 1.091 MB / 0.602 GB, free: 20.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.565, allocations: 1.219 kB / 0.602 GB, free: 20.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.5651, allocations: 35.53 kB / 0.6021 GB, free: 20.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/0.5651, allocations: 20.16 kB / 0.6021 GB, free: 20.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00258/0.5677, allocations: 1.182 MB / 0.6032 GB, free: 20.2 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.008523/0.5763, allocations: 4.623 MB / 0.6078 GB, free: 17.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003279/0.5796, allocations: 2.136 MB / 0.6098 GB, free: 16.05 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001587/0.5812, allocations: 0.8021 MB / 0.6106 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.5813, allocations: 25.73 kB / 0.6106 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.5813, allocations: 48.41 kB / 0.6107 GB, free: 15.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 3.437e-06/0.5813, allocations: 0 / 0.6107 GB, free: 15.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=130): time 0.02857/0.6099, allocations: 6.69 MB / 0.6172 GB, free: 13.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.61, allocations: 66.44 kB / 0.6173 GB, free: 13.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003142/0.6132, allocations: 1.657 MB / 0.6189 GB, free: 12.33 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004516/0.6136, allocations: 56.2 kB / 0.619 GB, free: 12.28 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004329/0.6141, allocations: 0.5578 MB / 0.6195 GB, free: 11.78 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006003/0.6147, allocations: 0.4929 MB / 0.62 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009476/0.6156, allocations: 0.5114 MB / 0.6205 GB, free: 11.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.884e-05/0.6157, allocations: 301.1 kB / 0.6208 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002303/0.618, allocations: 1.148 MB / 0.6219 GB, free: 10.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002466/0.6205, allocations: 1.358 MB / 0.6232 GB, free: 9.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00396/0.6245, allocations: 2.338 MB / 0.6255 GB, free: 7.469 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.6245, allocations: 0 / 0.6255 GB, free: 7.469 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.008255/0.6328, allocations: 4.094 MB / 0.6295 GB, free: 3.336 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.6328, allocations: 4.188 kB / 0.6295 GB, free: 3.332 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.6328, allocations: 4 kB / 0.6295 GB, free: 3.328 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009743/0.6426, allocations: 2.83 MB / 0.6323 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002294/0.6449, allocations: 483.3 kB / 0.6327 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006177/0.6511, allocations: 2.535 MB / 0.6352 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003449/0.6545, allocations: 237.9 kB / 0.6354 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002389/0.6548, allocations: 87.97 kB / 0.6355 GB, free: 13.13 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.0007736/0.6556, allocations: 321.2 kB / 0.6358 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003818/0.656, allocations: 169.8 kB / 0.636 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01139/0.6674, allocations: 3.538 MB / 0.6394 GB, free: 9.082 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/0.6674, allocations: 16 kB / 0.6395 GB, free: 9.066 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.6675, allocations: 0 / 0.6395 GB, free: 9.066 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-05/0.6675, allocations: 7.969 kB / 0.6395 GB, free: 9.059 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.01494/0.6824, allocations: 5.67 MB / 0.645 GB, free: 3.215 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/0.6825, allocations: 0 / 0.645 GB, free: 3.215 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/0.6837, allocations: 167.7 kB / 0.6452 GB, free: 3.051 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005736/0.6894, allocations: 1.492 MB / 0.6466 GB, free: 1.555 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000285/0.6898, allocations: 31.98 kB / 0.6466 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0205/0.7103, allocations: 7.849 MB / 0.6543 GB, free: 9.535 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.7103, allocations: 0 / 0.6543 GB, free: 9.535 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01432/0.7246, allocations: 4.556 MB / 0.6588 GB, free: 4.953 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/0.7259, allocations: 302.7 kB / 0.6591 GB, free: 4.637 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007688/0.7267, allocations: 31.94 kB / 0.6591 GB, free: 4.605 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002079/0.7288, allocations: 79.92 kB / 0.6592 GB, free: 4.527 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006447/0.7294, allocations: 189.5 kB / 0.6593 GB, free: 4.344 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.8e-05/0.7296, allocations: 39.98 kB / 0.6594 GB, free: 4.305 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00169/0.7312, allocations: 1.09 MB / 0.6604 GB, free: 3.219 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.7313, allocations: 0 / 0.6604 GB, free: 3.219 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002147/0.7334, allocations: 0.6011 MB / 0.661 GB, free: 2.617 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.0004583/0.7339, allocations: 147.1 kB / 0.6612 GB, free: 2.465 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009791/0.7437, allocations: 3.053 MB / 0.6642 GB, free: 15.41 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.7437, allocations: 4 kB / 0.6642 GB, free: 15.41 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00466/0.7484, allocations: 1.516 MB / 0.6656 GB, free: 13.88 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/0.75, allocations: 133.5 kB / 0.6658 GB, free: 13.74 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006727/0.7568, allocations: 3.551 MB / 0.6692 GB, free: 10.16 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009077/0.7577, allocations: 1.238 MB / 0.6704 GB, free: 8.895 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006278/0.7583, allocations: 111.4 kB / 0.6705 GB, free: 8.785 MB / 478.1 MB Notification: Performance of SimCode: time 9.92e-07/0.7583, allocations: 7.938 kB / 0.6706 GB, free: 8.777 MB / 478.1 MB Notification: Performance of Templates: time 0.04085/0.7992, allocations: 26.49 MB / 0.6964 GB, free: 14.26 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)