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.008879/0.008879, allocations: 106.1 kB / 15.73 MB, free: 6.047 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.452/1.452, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001575/0.001576, allocations: 192.5 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5225/0.5225, allocations: 91.89 MB / 431.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 82.67 kB / 0.5727 GB, free: 33.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1434, allocations: 71.28 MB / 0.6423 GB, free: 3.609 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.008595/0.152, allocations: 8.235 MB / 0.6503 GB, free: 11.33 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005605/0.1577, allocations: 2.604 MB / 0.6529 GB, free: 8.723 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009102/0.1586, allocations: 12 kB / 0.6529 GB, free: 8.711 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007684/0.1594, allocations: 313.4 kB / 0.6532 GB, free: 8.402 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002701/0.1621, allocations: 1.184 MB / 0.6544 GB, free: 7.215 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.1636, allocations: 0.6874 MB / 0.655 GB, free: 6.531 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002665/0.1663, allocations: 2.375 MB / 0.6573 GB, free: 4.148 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004747/0.1667, allocations: 320.8 kB / 0.6577 GB, free: 3.816 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.1678, allocations: 0.9573 MB / 0.6586 GB, free: 2.855 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001376/0.1692, allocations: 1.315 MB / 0.6599 GB, free: 1.535 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002811/0.1695, allocations: 203.9 kB / 0.6601 GB, free: 1.336 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007154/0.1702, allocations: 383.8 kB / 0.6604 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004063/0.1707, allocations: 0.506 MB / 0.6609 GB, free: 464 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008875/0.1716, allocations: 0.9673 MB / 0.6619 GB, free: 15.48 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002411/0.174, allocations: 2.324 MB / 0.6641 GB, free: 13.15 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.174, allocations: 0 / 0.6641 GB, free: 13.15 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.174, allocations: 0 / 0.6641 GB, free: 13.15 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.176e-05/0.174, allocations: 4 kB / 0.6641 GB, free: 13.14 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.01581/0.1899, allocations: 4.098 MB / 0.6681 GB, free: 8.988 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.1899, allocations: 12.03 kB / 0.6682 GB, free: 8.977 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003574/0.1935, allocations: 0.576 MB / 0.6687 GB, free: 8.398 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00195/0.1955, allocations: 1.22 MB / 0.6699 GB, free: 7.129 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002908/0.1958, allocations: 268.8 kB / 0.6702 GB, free: 6.828 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002142/0.196, allocations: 108 kB / 0.6703 GB, free: 6.723 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002323/0.1983, allocations: 1.096 MB / 0.6713 GB, free: 5.617 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.1984, allocations: 0 / 0.6713 GB, free: 5.617 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.1985, allocations: 36 kB / 0.6714 GB, free: 5.582 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.1985, allocations: 20 kB / 0.6714 GB, free: 5.562 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002455/0.201, allocations: 1.179 MB / 0.6725 GB, free: 4.387 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.008017/0.209, allocations: 4.61 MB / 0.677 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003541/0.2126, allocations: 2.139 MB / 0.6791 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001582/0.2142, allocations: 0.7895 MB / 0.6799 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/0.2143, allocations: 33.27 kB / 0.6799 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.2143, allocations: 47.88 kB / 0.68 GB, free: 12.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=130): time 3.447e-06/0.2144, allocations: 0 / 0.68 GB, free: 12.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=130): time 0.02828/0.2426, allocations: 6.687 MB / 0.6865 GB, free: 5.617 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.2427, allocations: 68.72 kB / 0.6866 GB, free: 5.539 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002617/0.2454, allocations: 1.655 MB / 0.6882 GB, free: 3.875 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004091/0.2458, allocations: 57.7 kB / 0.6883 GB, free: 3.812 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004912/0.2463, allocations: 0.5535 MB / 0.6888 GB, free: 3.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006181/0.2469, allocations: 0.4932 MB / 0.6893 GB, free: 2.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008346/0.2478, allocations: 0.5133 MB / 0.6898 GB, free: 2.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.617e-05/0.2479, allocations: 301.1 kB / 0.6901 GB, free: 1.934 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002304/0.2502, allocations: 1.149 MB / 0.6912 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002663/0.2529, allocations: 1.353 MB / 0.6925 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004934/0.2578, allocations: 2.342 MB / 0.6948 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/0.2578, allocations: 3.938 kB / 0.6948 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=348) (initialization): time 0.01057/0.2684, allocations: 4.086 MB / 0.6988 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.2685, allocations: 4.938 kB / 0.6988 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.2685, allocations: 3.938 kB / 0.6988 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01138/0.2799, allocations: 2.823 MB / 0.7016 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002531/0.2825, allocations: 483.3 kB / 0.702 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006171/0.2887, allocations: 2.523 MB / 0.7045 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003433/0.2922, allocations: 241.8 kB / 0.7047 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003093/0.2925, allocations: 91.97 kB / 0.7048 GB, free: 2.699 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.0008211/0.2933, allocations: 313.3 kB / 0.7051 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004655/0.2938, allocations: 165.8 kB / 0.7053 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01134/0.3051, allocations: 3.546 MB / 0.7087 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/0.3052, allocations: 19.94 kB / 0.7087 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.3052, allocations: 0 / 0.7087 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.149e-05/0.3052, allocations: 11.97 kB / 0.7087 GB, free: 14.62 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.01452/0.3198, allocations: 5.65 MB / 0.7143 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/0.3198, allocations: 0 / 0.7143 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/0.321, allocations: 155.8 kB / 0.7144 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005644/0.3266, allocations: 1.492 MB / 0.7159 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002866/0.327, allocations: 24 kB / 0.7159 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01962/0.3466, allocations: 7.849 MB / 0.7236 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3466, allocations: 0 / 0.7236 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01393/0.3606, allocations: 4.569 MB / 0.728 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008193/0.3614, allocations: 302.8 kB / 0.7283 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002786/0.3617, allocations: 24 kB / 0.7283 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/0.3632, allocations: 83.92 kB / 0.7284 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006253/0.3638, allocations: 185.5 kB / 0.7286 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.899e-05/0.3639, allocations: 39.98 kB / 0.7286 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001728/0.3657, allocations: 1.086 MB / 0.7297 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3657, allocations: 0 / 0.7297 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001654/0.3673, allocations: 0.5972 MB / 0.7303 GB, free: 8.215 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.0003358/0.3677, allocations: 157 kB / 0.7304 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008436/0.3761, allocations: 3.006 MB / 0.7334 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.3762, allocations: 0 / 0.7334 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004755/0.3809, allocations: 1.543 MB / 0.7349 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.3823, allocations: 131.3 kB / 0.735 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006046/0.3883, allocations: 3.462 MB / 0.7384 GB, free: 15.88 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007385/0.3891, allocations: 1.238 MB / 0.7396 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007707/0.3899, allocations: 159.2 kB / 0.7397 GB, free: 14.45 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004682/0.3903, allocations: 107.4 kB / 0.7398 GB, free: 14.34 MB / 0.545 GB Notification: Performance of SimCode: time 6.61e-07/0.3904, allocations: 0 / 0.7398 GB, free: 14.34 MB / 0.545 GB Notification: Performance of Templates: time 0.3365/0.7269, allocations: 30.85 MB / 0.77 GB, free: 118.8 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)