Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.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.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_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.0009906/0.0009906, allocations: 106.2 kB / 16.27 MB, free: 6.41 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.23/1.23, allocations: 222.9 MB / 239.9 MB, free: 4.613 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.00114/0.00114, allocations: 199.7 kB / 290.2 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4085/0.4085, allocations: 78.54 MB / 418.9 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 75.88 kB / 498.1 MB, free: 6.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1042, allocations: 68.18 MB / 0.553 GB, free: 2.223 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.1899/0.2942, allocations: 8.218 MB / 0.561 GB, free: 34.86 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004278/0.2985, allocations: 2.61 MB / 0.5636 GB, free: 34.21 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008057/0.2993, allocations: 11.06 kB / 0.5636 GB, free: 34.21 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005705/0.2999, allocations: 310.5 kB / 0.5639 GB, free: 34.19 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003046/0.303, allocations: 1.493 MB / 0.5654 GB, free: 33.83 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.304, allocations: 0.6039 MB / 0.566 GB, free: 33.78 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002687/0.3067, allocations: 2.55 MB / 0.5684 GB, free: 33.31 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004743/0.3072, allocations: 317.9 kB / 0.5687 GB, free: 33.24 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001234/0.3084, allocations: 1.004 MB / 0.5697 GB, free: 33.01 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001102/0.3095, allocations: 1.356 MB / 0.571 GB, free: 32.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002476/0.3098, allocations: 201.4 kB / 0.5712 GB, free: 32.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006443/0.3104, allocations: 383.5 kB / 0.5716 GB, free: 32.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003061/0.3108, allocations: 0.5192 MB / 0.5721 GB, free: 32.58 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006082/0.3114, allocations: 0.9859 MB / 0.5731 GB, free: 32.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001649/0.313, allocations: 2.35 MB / 0.5754 GB, free: 31.74 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.313, allocations: 0 / 0.5754 GB, free: 31.74 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.313, allocations: 3.938 kB / 0.5754 GB, free: 31.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.262e-05/0.3131, allocations: 0.875 kB / 0.5754 GB, free: 31.73 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.01766/0.3307, allocations: 4.948 MB / 0.5802 GB, free: 30.42 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.3308, allocations: 8.219 kB / 0.5802 GB, free: 30.42 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003178/0.334, allocations: 0.5796 MB / 0.5808 GB, free: 30.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.3355, allocations: 1.215 MB / 0.582 GB, free: 29.49 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001983/0.3357, allocations: 268.7 kB / 0.5822 GB, free: 29.26 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/0.3359, allocations: 112.1 kB / 0.5823 GB, free: 29.22 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/0.3378, allocations: 1.091 MB / 0.5834 GB, free: 28.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.3378, allocations: 0 / 0.5834 GB, free: 28.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.572e-05/0.3379, allocations: 35.5 kB / 0.5834 GB, free: 28.79 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/0.3379, allocations: 20.56 kB / 0.5835 GB, free: 28.79 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002125/0.34, allocations: 1.181 MB / 0.5846 GB, free: 28.39 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.006038/0.3461, allocations: 4.626 MB / 0.5891 GB, free: 25.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002772/0.3489, allocations: 2.14 MB / 0.5912 GB, free: 24.26 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001335/0.3502, allocations: 0.7871 MB / 0.592 GB, free: 23.94 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.3503, allocations: 26.52 kB / 0.592 GB, free: 23.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.3504, allocations: 48.19 kB / 0.5921 GB, free: 23.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 3.135e-06/0.3504, allocations: 1.281 kB / 0.5921 GB, free: 23.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=130): time 0.02583/0.3762, allocations: 6.689 MB / 0.5986 GB, free: 22.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.3763, allocations: 68.53 kB / 0.5987 GB, free: 22.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002358/0.3787, allocations: 1.655 MB / 0.6003 GB, free: 21.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002678/0.3789, allocations: 59.73 kB / 0.6003 GB, free: 21.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003444/0.3793, allocations: 0.5533 MB / 0.6009 GB, free: 21.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004317/0.3797, allocations: 0.4921 MB / 0.6013 GB, free: 20.81 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008032/0.3805, allocations: 0.5152 MB / 0.6018 GB, free: 20.58 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.691e-05/0.3806, allocations: 303.1 kB / 0.6021 GB, free: 20.28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002017/0.3826, allocations: 1.145 MB / 0.6033 GB, free: 19.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002131/0.3847, allocations: 1.359 MB / 0.6046 GB, free: 19.24 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003782/0.3885, allocations: 2.344 MB / 0.6069 GB, free: 18.08 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.3886, allocations: 1.531 kB / 0.6069 GB, free: 18.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.008474/0.397, allocations: 4.082 MB / 0.6109 GB, free: 16.51 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.3971, allocations: 5.438 kB / 0.6109 GB, free: 16.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.3971, allocations: 2.188 kB / 0.6109 GB, free: 16.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009989/0.4071, allocations: 2.84 MB / 0.6136 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002057/0.4092, allocations: 481.6 kB / 0.6141 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004602/0.4138, allocations: 2.522 MB / 0.6166 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00234/0.4161, allocations: 250.4 kB / 0.6168 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/0.4163, allocations: 93.22 kB / 0.6169 GB, free: 13.41 MB / 430.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.0004757/0.4168, allocations: 309.3 kB / 0.6172 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002363/0.417, allocations: 169.8 kB / 0.6173 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00916/0.4262, allocations: 3.544 MB / 0.6208 GB, free: 9.367 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.4262, allocations: 12 kB / 0.6208 GB, free: 9.355 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.4262, allocations: 0.5 kB / 0.6208 GB, free: 9.355 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.4262, allocations: 9.094 kB / 0.6208 GB, free: 9.348 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 postOpt removeSimpleEquations (simulation): time 0.01065/0.4369, allocations: 5.67 MB / 0.6264 GB, free: 3.512 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.4369, allocations: 5.5 kB / 0.6264 GB, free: 3.508 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008201/0.4377, allocations: 155.8 kB / 0.6265 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004584/0.4423, allocations: 1.492 MB / 0.628 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.904e-05/0.4424, allocations: 31.98 kB / 0.628 GB, free: 1.832 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01707/0.4595, allocations: 7.852 MB / 0.6357 GB, free: 9.836 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.4595, allocations: 0 / 0.6357 GB, free: 9.836 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01227/0.4718, allocations: 4.572 MB / 0.6401 GB, free: 5.238 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006355/0.4724, allocations: 302.8 kB / 0.6404 GB, free: 4.922 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003328/0.4728, allocations: 20 kB / 0.6404 GB, free: 4.902 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001492/0.4743, allocations: 83.92 kB / 0.6405 GB, free: 4.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004704/0.4748, allocations: 189.5 kB / 0.6407 GB, free: 4.637 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.59e-05/0.4749, allocations: 36.94 kB / 0.6407 GB, free: 4.602 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001505/0.4764, allocations: 1.09 MB / 0.6418 GB, free: 3.516 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4764, allocations: 0 / 0.6418 GB, free: 3.516 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001479/0.4779, allocations: 0.5894 MB / 0.6424 GB, free: 2.926 MB / 446.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.0002787/0.4781, allocations: 163.5 kB / 0.6425 GB, free: 2.758 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00845/0.4866, allocations: 3.041 MB / 0.6455 GB, free: 15.72 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4866, allocations: 0 / 0.6455 GB, free: 15.72 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004131/0.4908, allocations: 1.533 MB / 0.647 GB, free: 14.18 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009591/0.4917, allocations: 131.3 kB / 0.6471 GB, free: 14.05 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005692/0.4974, allocations: 3.548 MB / 0.6506 GB, free: 10.59 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006884/0.4981, allocations: 1.238 MB / 0.6518 GB, free: 9.316 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004934/0.4986, allocations: 111.4 kB / 0.6519 GB, free: 9.207 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4986, allocations: 0 / 0.6519 GB, free: 9.207 MB / 462.1 MB Notification: Performance of Templates: time 0.03134/0.53, allocations: 26.49 MB / 0.6778 GB, free: 14.82 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.makefile (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & ./OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)