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: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 222.9 MB / 239.3 MB, free: 4.605 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.001712/0.001712, allocations: 187.6 kB / 289.6 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5084/0.5084, allocations: 78.54 MB / 418.3 MB, free: 3.184 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 83.88 kB / 497.6 MB, free: 6.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1592, allocations: 68.18 MB / 0.5525 GB, free: 2.09 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.3056/0.4648, allocations: 8.21 MB / 0.5605 GB, free: 35.03 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005642/0.4705, allocations: 2.608 MB / 0.563 GB, free: 34.38 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00165/0.4722, allocations: 14.28 kB / 0.5631 GB, free: 34.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000893/0.4732, allocations: 312.7 kB / 0.5634 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004135/0.4773, allocations: 1.493 MB / 0.5648 GB, free: 33.99 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.4786, allocations: 0.6016 MB / 0.5654 GB, free: 33.94 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003161/0.4818, allocations: 2.55 MB / 0.5679 GB, free: 33.47 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000515/0.4823, allocations: 319.6 kB / 0.5682 GB, free: 33.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.4836, allocations: 1.001 MB / 0.5692 GB, free: 33.17 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001245/0.4848, allocations: 1.352 MB / 0.5705 GB, free: 32.87 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002966/0.4851, allocations: 202.2 kB / 0.5707 GB, free: 32.87 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007821/0.4859, allocations: 390.6 kB / 0.5711 GB, free: 32.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004009/0.4863, allocations: 0.5184 MB / 0.5716 GB, free: 32.74 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008032/0.4871, allocations: 0.9886 MB / 0.5725 GB, free: 32.4 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002333/0.4895, allocations: 2.342 MB / 0.5748 GB, free: 31.89 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.4895, allocations: 1.062 kB / 0.5748 GB, free: 31.89 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4895, allocations: 2.75 kB / 0.5748 GB, free: 31.89 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.672e-05/0.4895, allocations: 3.234 kB / 0.5748 GB, free: 31.89 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.01929/0.5088, allocations: 4.941 MB / 0.5796 GB, free: 30.56 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.5089, allocations: 8.25 kB / 0.5797 GB, free: 30.56 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001685/0.5091, allocations: 140.9 kB / 0.5798 GB, free: 30.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003389/0.5125, allocations: 0.5751 MB / 0.5804 GB, free: 30.31 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00213/0.5146, allocations: 1.221 MB / 0.5815 GB, free: 29.53 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002603/0.5149, allocations: 269.8 kB / 0.5818 GB, free: 29.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002316/0.5151, allocations: 112.9 kB / 0.5819 GB, free: 29.26 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002332/0.5175, allocations: 1.095 MB / 0.583 GB, free: 28.85 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.5175, allocations: 0 / 0.583 GB, free: 28.85 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.5176, allocations: 34.22 kB / 0.583 GB, free: 28.83 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.81e-05/0.5177, allocations: 23.97 kB / 0.583 GB, free: 28.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002644/0.5203, allocations: 1.176 MB / 0.5842 GB, free: 28.43 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.008261/0.5286, allocations: 4.619 MB / 0.5887 GB, free: 25.76 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003462/0.5321, allocations: 2.146 MB / 0.5908 GB, free: 24.3 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001613/0.5337, allocations: 0.7923 MB / 0.5916 GB, free: 23.97 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.5338, allocations: 22.42 kB / 0.5916 GB, free: 23.97 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.5339, allocations: 48.97 kB / 0.5916 GB, free: 23.92 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 5.37e-06/0.5339, allocations: 1.844 kB / 0.5916 GB, free: 23.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=130): time 0.02955/0.5634, allocations: 6.686 MB / 0.5982 GB, free: 22.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/0.5636, allocations: 65.7 kB / 0.5982 GB, free: 22.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004284/0.5679, allocations: 1.657 MB / 0.5998 GB, free: 21.74 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005271/0.5684, allocations: 56.58 kB / 0.5999 GB, free: 21.69 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000723/0.5691, allocations: 0.5556 MB / 0.6004 GB, free: 21.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009103/0.5701, allocations: 0.4994 MB / 0.6009 GB, free: 20.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002362/0.5724, allocations: 0.5097 MB / 0.6014 GB, free: 20.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.137e-05/0.5725, allocations: 301.7 kB / 0.6017 GB, free: 20.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00299/0.5755, allocations: 1.145 MB / 0.6028 GB, free: 19.87 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003382/0.5789, allocations: 1.362 MB / 0.6042 GB, free: 19.28 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005568/0.5845, allocations: 2.341 MB / 0.6064 GB, free: 18.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.123e-05/0.5845, allocations: 1.406 kB / 0.6064 GB, free: 18.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.01183/0.5964, allocations: 4.086 MB / 0.6104 GB, free: 16.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.028e-05/0.5965, allocations: 6.406 kB / 0.6104 GB, free: 16.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.5965, allocations: 1.594 kB / 0.6104 GB, free: 16.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01193/0.6084, allocations: 2.832 MB / 0.6132 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00276/0.6112, allocations: 479.8 kB / 0.6137 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006191/0.6175, allocations: 2.524 MB / 0.6161 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00355/0.6211, allocations: 245.9 kB / 0.6164 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000527/0.6216, allocations: 87.97 kB / 0.6165 GB, free: 13.17 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.001139/0.6228, allocations: 313.3 kB / 0.6168 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008064/0.6236, allocations: 173.8 kB / 0.6169 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01063/0.6342, allocations: 3.549 MB / 0.6204 GB, free: 9.121 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/0.6343, allocations: 15.94 kB / 0.6204 GB, free: 9.105 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.6343, allocations: 0 / 0.6204 GB, free: 9.105 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.512e-05/0.6344, allocations: 6.047 kB / 0.6204 GB, free: 9.102 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.01425/0.6486, allocations: 5.663 MB / 0.6259 GB, free: 3.273 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.901e-05/0.6487, allocations: 4 kB / 0.6259 GB, free: 3.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/0.6499, allocations: 163.8 kB / 0.6261 GB, free: 3.109 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005165/0.655, allocations: 1.494 MB / 0.6276 GB, free: 1.613 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002989/0.6554, allocations: 31.98 kB / 0.6276 GB, free: 1.582 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02033/0.6757, allocations: 7.855 MB / 0.6353 GB, free: 9.582 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.6758, allocations: 0 / 0.6353 GB, free: 9.582 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01518/0.691, allocations: 4.556 MB / 0.6397 GB, free: 4.996 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/0.6922, allocations: 302.8 kB / 0.64 GB, free: 4.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000895/0.6931, allocations: 29.05 kB / 0.64 GB, free: 4.652 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002254/0.6954, allocations: 75.94 kB / 0.6401 GB, free: 4.578 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008289/0.6962, allocations: 193.5 kB / 0.6403 GB, free: 4.391 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002282/0.6965, allocations: 35.98 kB / 0.6403 GB, free: 4.355 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00242/0.6989, allocations: 1.094 MB / 0.6414 GB, free: 3.266 MB / 446.1 MB Notification: Performance of sort global known variables: time 3e-07/0.6989, allocations: 0 / 0.6414 GB, free: 3.266 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003041/0.702, allocations: 0.5932 MB / 0.642 GB, free: 2.672 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.01482/0.7168, allocations: 5.169 MB / 0.647 GB, free: 13.46 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01086/0.7277, allocations: 3.039 MB / 0.65 GB, free: 10.43 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.7278, allocations: 0 / 0.65 GB, free: 10.43 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005147/0.7329, allocations: 1.537 MB / 0.6515 GB, free: 8.887 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002451/0.7354, allocations: 132.4 kB / 0.6516 GB, free: 8.758 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04871/0.7841, allocations: 20.31 MB / 0.6714 GB, free: 3.598 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00117/0.7854, allocations: 1.23 MB / 0.6726 GB, free: 2.336 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001154/0.7865, allocations: 163.2 kB / 0.6728 GB, free: 2.172 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001445/0.788, allocations: 0.6282 MB / 0.6734 GB, free: 1.547 MB / 478.1 MB Notification: Performance of SimCode: time 9.32e-07/0.788, allocations: 3.938 kB / 0.6734 GB, free: 1.543 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09723/0.8853, allocations: 44.58 MB / 0.7169 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.37/14.26, allocations: 11.5 kB / 0.717 GB, free: 5.297 MB / 0.5137 GB (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 & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)