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.008404/0.008404, allocations: 99.14 kB / 15.73 MB, free: 6.062 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.464/1.464, allocations: 222.9 MB / 239.4 MB, free: 4.512 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.001565/0.001565, allocations: 192.5 kB / 289.7 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5556/0.5556, allocations: 91.89 MB / 431.7 MB, free: 9.145 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 73.84 kB / 0.5727 GB, free: 33.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1402, allocations: 71.29 MB / 0.6423 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.008608/0.1488, allocations: 8.23 MB / 0.6503 GB, free: 11.33 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005342/0.1542, allocations: 2.6 MB / 0.6529 GB, free: 8.723 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/0.1557, allocations: 12 kB / 0.6529 GB, free: 8.711 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.1568, allocations: 313.4 kB / 0.6532 GB, free: 8.402 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003433/0.1603, allocations: 1.142 MB / 0.6543 GB, free: 7.258 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001544/0.1618, allocations: 0.6949 MB / 0.655 GB, free: 6.566 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00309/0.1649, allocations: 2.371 MB / 0.6573 GB, free: 4.188 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005968/0.1655, allocations: 316.8 kB / 0.6576 GB, free: 3.859 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001445/0.167, allocations: 0.965 MB / 0.6585 GB, free: 2.891 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001895/0.1689, allocations: 1.311 MB / 0.6598 GB, free: 1.574 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000638/0.1695, allocations: 203.9 kB / 0.66 GB, free: 1.375 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.1706, allocations: 387.8 kB / 0.6604 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006713/0.1713, allocations: 0.5021 MB / 0.6609 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000965/0.1722, allocations: 0.9752 MB / 0.6618 GB, free: 15.51 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002198/0.1745, allocations: 2.33 MB / 0.6641 GB, free: 13.17 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1745, allocations: 0 / 0.6641 GB, free: 13.17 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.1745, allocations: 4 kB / 0.6641 GB, free: 13.17 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.691e-05/0.1745, allocations: 4 kB / 0.6641 GB, free: 13.16 MB / 478.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.01425/0.1888, allocations: 4.151 MB / 0.6682 GB, free: 8.953 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.1888, allocations: 19.97 kB / 0.6682 GB, free: 8.934 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00331/0.1921, allocations: 0.5849 MB / 0.6688 GB, free: 8.348 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001952/0.1941, allocations: 1.221 MB / 0.67 GB, free: 7.078 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003149/0.1944, allocations: 272.8 kB / 0.6702 GB, free: 6.773 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002009/0.1946, allocations: 120 kB / 0.6703 GB, free: 6.656 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/0.1968, allocations: 1.089 MB / 0.6714 GB, free: 5.559 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.1968, allocations: 0 / 0.6714 GB, free: 5.559 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.709e-05/0.1969, allocations: 36 kB / 0.6714 GB, free: 5.523 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/0.197, allocations: 20 kB / 0.6714 GB, free: 5.504 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002358/0.1993, allocations: 1.187 MB / 0.6726 GB, free: 4.32 MB / 478.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.007465/0.2068, allocations: 4.607 MB / 0.6771 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003215/0.21, allocations: 2.135 MB / 0.6792 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001406/0.2114, allocations: 0.7895 MB / 0.68 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001227/0.2116, allocations: 29.28 kB / 0.68 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.2116, allocations: 43.88 kB / 0.68 GB, free: 12.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=130): time 3.005e-06/0.2116, allocations: 0 / 0.68 GB, free: 12.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=130): time 0.02617/0.2378, allocations: 6.703 MB / 0.6866 GB, free: 5.551 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.2379, allocations: 72.72 kB / 0.6866 GB, free: 5.469 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002608/0.2405, allocations: 1.651 MB / 0.6883 GB, free: 3.809 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003335/0.2408, allocations: 61.7 kB / 0.6883 GB, free: 3.742 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004362/0.2413, allocations: 0.5543 MB / 0.6889 GB, free: 3.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005806/0.2419, allocations: 0.5152 MB / 0.6894 GB, free: 2.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008649/0.2427, allocations: 0.5134 MB / 0.6899 GB, free: 2.141 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.645e-05/0.2428, allocations: 301.1 kB / 0.6902 GB, free: 1.844 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00221/0.2451, allocations: 1.149 MB / 0.6913 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00236/0.2474, allocations: 1.353 MB / 0.6926 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004248/0.2517, allocations: 2.35 MB / 0.6949 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.2517, allocations: 0 / 0.6949 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=348) (initialization): time 0.009215/0.2609, allocations: 4.095 MB / 0.6989 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.261, allocations: 4 kB / 0.6989 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.261, allocations: 0 / 0.6989 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01052/0.2715, allocations: 2.831 MB / 0.7017 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002398/0.274, allocations: 483.3 kB / 0.7021 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0058/0.2798, allocations: 2.531 MB / 0.7046 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003006/0.2828, allocations: 246.5 kB / 0.7048 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004787/0.2833, allocations: 87.97 kB / 0.7049 GB, free: 2.586 MB / 0.4981 GB 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.0009343/0.2843, allocations: 317.3 kB / 0.7052 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005867/0.2849, allocations: 174.8 kB / 0.7054 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01108/0.2959, allocations: 3.554 MB / 0.7088 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/0.296, allocations: 12 kB / 0.7089 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.296, allocations: 0 / 0.7089 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-05/0.296, allocations: 7.969 kB / 0.7089 GB, free: 14.5 MB / 0.5137 GB 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.01429/0.3103, allocations: 5.654 MB / 0.7144 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.3104, allocations: 0 / 0.7144 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/0.3114, allocations: 167.8 kB / 0.7145 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005623/0.3171, allocations: 1.484 MB / 0.716 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001641/0.3172, allocations: 20 kB / 0.716 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02016/0.3374, allocations: 7.858 MB / 0.7237 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3375, allocations: 0 / 0.7237 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01367/0.3511, allocations: 4.57 MB / 0.7282 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007638/0.3519, allocations: 315.6 kB / 0.7285 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004717/0.3524, allocations: 28 kB / 0.7285 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001661/0.3541, allocations: 75.92 kB / 0.7286 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005808/0.3547, allocations: 189.5 kB / 0.7287 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/0.3548, allocations: 39.98 kB / 0.7288 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001967/0.3568, allocations: 1.094 MB / 0.7298 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.91e-07/0.3568, allocations: 0 / 0.7298 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002025/0.3588, allocations: 0.5973 MB / 0.7304 GB, free: 8.062 MB / 0.5294 GB 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.0003481/0.3592, allocations: 151 kB / 0.7306 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008511/0.3677, allocations: 3.006 MB / 0.7335 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3677, allocations: 4 kB / 0.7335 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00451/0.3722, allocations: 1.535 MB / 0.735 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.3734, allocations: 136.3 kB / 0.7351 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006344/0.3798, allocations: 3.538 MB / 0.7386 GB, free: 15.65 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008782/0.3807, allocations: 1.234 MB / 0.7398 GB, free: 14.38 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000709/0.3814, allocations: 163.2 kB / 0.74 GB, free: 14.22 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005206/0.3819, allocations: 103.4 kB / 0.7401 GB, free: 14.12 MB / 0.545 GB Notification: Performance of SimCode: time 4.8e-07/0.3819, allocations: 0 / 0.7401 GB, free: 14.12 MB / 0.545 GB Notification: Performance of Templates: time 0.3994/0.7814, allocations: 30.85 MB / 0.7702 GB, free: 119.2 MB / 0.5606 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)