Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Aggregated_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 103.3 kB / 16.4 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.292/2.292, allocations: 222.9 MB / 240.1 MB, free: 4.355 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.002482/0.002482, allocations: 192.5 kB / 290.4 MB, free: 2.078 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.6663/0.6663, allocations: 78.53 MB / 419.1 MB, free: 3.145 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 79.88 kB / 0.5543 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.409/0.4111, allocations: 68.19 MB / 0.6208 GB, free: 9.594 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.005791/0.4169, allocations: 6.172 MB / 0.6269 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003278/0.4203, allocations: 2.122 MB / 0.6289 GB, free: 1.867 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008171/0.4211, allocations: 8 kB / 0.6289 GB, free: 1.859 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006272/0.4217, allocations: 238.1 kB / 0.6292 GB, free: 1.625 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002708/0.4245, allocations: 1.163 MB / 0.6303 GB, free: 480 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008908/0.4254, allocations: 487.4 kB / 0.6308 GB, free: 15.99 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002011/0.4274, allocations: 1.844 MB / 0.6326 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003221/0.4277, allocations: 203.4 kB / 0.6328 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007201/0.4285, allocations: 0.7123 MB / 0.6335 GB, free: 13.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009377/0.4294, allocations: 0.9534 MB / 0.6344 GB, free: 12.26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001912/0.4296, allocations: 144 kB / 0.6345 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005103/0.4301, allocations: 315.8 kB / 0.6348 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002723/0.4304, allocations: 378.6 kB / 0.6352 GB, free: 11.44 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004974/0.4309, allocations: 0.6878 MB / 0.6359 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001547/0.4325, allocations: 1.726 MB / 0.6376 GB, free: 9.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.4325, allocations: 4 kB / 0.6376 GB, free: 9.016 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4325, allocations: 0 / 0.6376 GB, free: 9.016 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.556e-05/0.4325, allocations: 0 / 0.6376 GB, free: 9.016 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.01437/0.4469, allocations: 3.707 MB / 0.6412 GB, free: 5.246 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.447, allocations: 8.031 kB / 0.6412 GB, free: 5.238 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004337/0.4513, allocations: 0.4911 MB / 0.6417 GB, free: 4.746 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/0.4532, allocations: 0.8986 MB / 0.6425 GB, free: 3.793 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003732/0.4536, allocations: 226.2 kB / 0.6428 GB, free: 3.539 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002115/0.4538, allocations: 80 kB / 0.6428 GB, free: 3.461 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002599/0.4564, allocations: 0.8887 MB / 0.6437 GB, free: 2.566 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.4565, allocations: 0 / 0.6437 GB, free: 2.566 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.4566, allocations: 24 kB / 0.6437 GB, free: 2.543 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.4566, allocations: 16 kB / 0.6437 GB, free: 2.527 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002953/0.4596, allocations: 1.001 MB / 0.6447 GB, free: 1.527 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 preOpt removeSimpleEquations (simulation): time 0.01152/0.4711, allocations: 2.922 MB / 0.6476 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00455/0.4757, allocations: 1.093 MB / 0.6486 GB, free: 13.38 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002291/0.478, allocations: 0.6597 MB / 0.6493 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001546/0.4782, allocations: 20.97 kB / 0.6493 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.877e-05/0.4783, allocations: 43.56 kB / 0.6493 GB, free: 12.64 MB / 462.1 MB Notification: Performance of pre-optimization done (n=94): time 6.172e-06/0.4783, allocations: 0 / 0.6493 GB, free: 12.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=94): time 0.04819/0.5265, allocations: 6.481 MB / 0.6557 GB, free: 6.121 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.286e-05/0.5266, allocations: 68.34 kB / 0.6557 GB, free: 6.043 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003523/0.5302, allocations: 1.14 MB / 0.6569 GB, free: 4.883 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004212/0.5306, allocations: 49.7 kB / 0.6569 GB, free: 4.828 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007191/0.5314, allocations: 389.9 kB / 0.6573 GB, free: 4.441 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009294/0.5323, allocations: 359 kB / 0.6576 GB, free: 4.086 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001687/0.5341, allocations: 367.2 kB / 0.658 GB, free: 3.719 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.5343, allocations: 313 kB / 0.6583 GB, free: 3.41 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003948/0.5382, allocations: 0.9058 MB / 0.6591 GB, free: 2.504 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003859/0.5421, allocations: 0.939 MB / 0.6601 GB, free: 1.566 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007574/0.5497, allocations: 1.805 MB / 0.6618 GB, free: 15.76 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.738e-05/0.5498, allocations: 4 kB / 0.6618 GB, free: 15.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01398/0.5638, allocations: 3.036 MB / 0.6648 GB, free: 12.71 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.839e-05/0.5639, allocations: 8 kB / 0.6648 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.5639, allocations: 0 / 0.6648 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01619/0.5801, allocations: 2.28 MB / 0.667 GB, free: 10.42 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002935/0.5831, allocations: 319.5 kB / 0.6673 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009375/0.5925, allocations: 2.267 MB / 0.6696 GB, free: 7.812 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003389/0.5959, allocations: 202.4 kB / 0.6697 GB, free: 7.613 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003716/0.5963, allocations: 63.98 kB / 0.6698 GB, free: 7.551 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (189): * Single equations (assignments): 188 * 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 {(24,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0008329/0.5972, allocations: 241.5 kB / 0.67 GB, free: 7.305 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004852/0.5977, allocations: 122.4 kB / 0.6702 GB, free: 7.184 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01973/0.6174, allocations: 3.297 MB / 0.6734 GB, free: 3.875 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.063e-05/0.6175, allocations: 15.92 kB / 0.6734 GB, free: 3.859 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.6176, allocations: 0 / 0.6734 GB, free: 3.859 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.249e-05/0.6176, allocations: 3.984 kB / 0.6734 GB, free: 3.855 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002177/0.6198, allocations: 1.218 MB / 0.6746 GB, free: 2.59 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.6198, allocations: 4 kB / 0.6746 GB, free: 2.586 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007245/0.6205, allocations: 111.8 kB / 0.6747 GB, free: 2.477 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005268/0.6258, allocations: 1.443 MB / 0.6761 GB, free: 1.031 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001486/0.626, allocations: 27.92 kB / 0.6761 GB, free: 1.004 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01892/0.6449, allocations: 7.808 MB / 0.6838 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.645, allocations: 7.922 kB / 0.6838 GB, free: 9.043 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01252/0.6575, allocations: 4.135 MB / 0.6878 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000449/0.658, allocations: 231.4 kB / 0.688 GB, free: 4.641 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002795/0.6583, allocations: 19.98 kB / 0.688 GB, free: 4.621 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/0.6597, allocations: 87.91 kB / 0.6881 GB, free: 4.535 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007058/0.6604, allocations: 176.8 kB / 0.6883 GB, free: 4.363 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/0.6605, allocations: 23.94 kB / 0.6883 GB, free: 4.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001494/0.662, allocations: 0.7602 MB / 0.6891 GB, free: 3.57 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.662, allocations: 0 / 0.6891 GB, free: 3.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00183/0.6639, allocations: 439.7 kB / 0.6895 GB, free: 3.141 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.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 (62): * Single equations (assignments): 61 * 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 {(14,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003595/0.6642, allocations: 143.8 kB / 0.6896 GB, free: 2.988 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009332/0.6736, allocations: 2.367 MB / 0.6919 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.6736, allocations: 0 / 0.6919 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005223/0.6788, allocations: 1.321 MB / 0.6932 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.68, allocations: 85.03 kB / 0.6933 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0048/0.6848, allocations: 2.48 MB / 0.6957 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005654/0.6854, allocations: 1.057 MB / 0.6967 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004008/0.6858, allocations: 79.42 kB / 0.6968 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of SimCode: time 6.31e-07/0.6858, allocations: 0 / 0.6968 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of Templates: time 0.3963/1.082, allocations: 19.32 MB / 0.7157 GB, free: 8.199 MB / 0.5137 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.makefile (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & ./OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)