Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.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: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_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.007828/0.007828, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.485/1.485, allocations: 222.9 MB / 239.4 MB, free: 4.562 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.001914/0.001913, allocations: 192.5 kB / 289.7 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5631/0.5631, allocations: 91.91 MB / 431.8 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002248, allocations: 83.42 kB / 0.5722 GB, free: 33.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.156, allocations: 71.29 MB / 0.6418 GB, free: 4.133 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.008893/0.165, allocations: 6.194 MB / 0.6479 GB, free: 13.9 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004987/0.17, allocations: 2.11 MB / 0.6499 GB, free: 11.79 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/0.1712, allocations: 8 kB / 0.65 GB, free: 11.78 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009411/0.1722, allocations: 238 kB / 0.6502 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003224/0.1755, allocations: 0.89 MB / 0.651 GB, free: 10.65 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.177, allocations: 0.5581 MB / 0.6516 GB, free: 10.1 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002802/0.1799, allocations: 1.682 MB / 0.6532 GB, free: 8.414 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005659/0.1804, allocations: 207.6 kB / 0.6534 GB, free: 8.199 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00136/0.1818, allocations: 0.6771 MB / 0.6541 GB, free: 7.52 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.1834, allocations: 0.9222 MB / 0.655 GB, free: 6.594 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005436/0.184, allocations: 144 kB / 0.6551 GB, free: 6.453 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.1851, allocations: 307.9 kB / 0.6554 GB, free: 6.152 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000495/0.1856, allocations: 378.5 kB / 0.6558 GB, free: 5.781 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008039/0.1864, allocations: 0.6683 MB / 0.6564 GB, free: 5.109 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002248/0.1886, allocations: 1.7 MB / 0.6581 GB, free: 3.402 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.1887, allocations: 3.984 kB / 0.6581 GB, free: 3.398 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1887, allocations: 0 / 0.6581 GB, free: 3.398 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.82e-05/0.1887, allocations: 0 / 0.6581 GB, free: 3.398 MB / 462.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.01215/0.2009, allocations: 3.183 MB / 0.6612 GB, free: 164 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.2009, allocations: 8.031 kB / 0.6612 GB, free: 156 kB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001601/0.2011, allocations: 110.7 kB / 0.6613 GB, free: 36 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002997/0.2041, allocations: 0.5011 MB / 0.6618 GB, free: 15.53 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.2057, allocations: 0.8979 MB / 0.6627 GB, free: 14.58 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000326/0.206, allocations: 226.2 kB / 0.6629 GB, free: 14.33 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/0.2062, allocations: 84 kB / 0.663 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/0.2082, allocations: 0.8926 MB / 0.6639 GB, free: 13.35 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.2082, allocations: 0 / 0.6639 GB, free: 13.35 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.567e-05/0.2083, allocations: 20 kB / 0.6639 GB, free: 13.33 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.2083, allocations: 27.86 kB / 0.6639 GB, free: 13.3 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002252/0.2106, allocations: 0.9889 MB / 0.6649 GB, free: 12.31 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.005648/0.2162, allocations: 2.919 MB / 0.6677 GB, free: 9.262 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002922/0.2192, allocations: 1.09 MB / 0.6688 GB, free: 8.168 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/0.2206, allocations: 0.6597 MB / 0.6694 GB, free: 7.504 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.2207, allocations: 20.97 kB / 0.6695 GB, free: 7.48 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/0.2207, allocations: 51.44 kB / 0.6695 GB, free: 7.422 MB / 478.1 MB Notification: Performance of pre-optimization done (n=94): time 3.477e-06/0.2207, allocations: 0 / 0.6695 GB, free: 7.422 MB / 478.1 MB Notification: Performance of matching and sorting (n=94): time 0.02687/0.2476, allocations: 6.486 MB / 0.6758 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.506e-05/0.2477, allocations: 68.34 kB / 0.6759 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001898/0.2496, allocations: 1.152 MB / 0.677 GB, free: 15.65 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002987/0.25, allocations: 45.7 kB / 0.6771 GB, free: 15.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003463/0.2503, allocations: 394.3 kB / 0.6774 GB, free: 15.21 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004533/0.2508, allocations: 376.8 kB / 0.6778 GB, free: 14.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00068/0.2515, allocations: 371.4 kB / 0.6782 GB, free: 14.47 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.2516, allocations: 305.1 kB / 0.6785 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001963/0.2536, allocations: 0.9136 MB / 0.6793 GB, free: 13.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001932/0.2555, allocations: 0.9312 MB / 0.6803 GB, free: 12.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003771/0.2593, allocations: 1.813 MB / 0.682 GB, free: 10.51 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.2593, allocations: 4 kB / 0.682 GB, free: 10.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007259/0.2666, allocations: 3.041 MB / 0.685 GB, free: 7.449 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.2666, allocations: 9.344 kB / 0.685 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.2667, allocations: 0 / 0.685 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009152/0.2758, allocations: 2.284 MB / 0.6872 GB, free: 5.156 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001833/0.2777, allocations: 323.5 kB / 0.6875 GB, free: 4.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005394/0.2831, allocations: 2.265 MB / 0.6898 GB, free: 2.547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002256/0.2854, allocations: 198.9 kB / 0.6899 GB, free: 2.352 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000165/0.2856, allocations: 59.98 kB / 0.69 GB, free: 2.293 MB / 494.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.0005439/0.2861, allocations: 249.5 kB / 0.6902 GB, free: 2.039 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002774/0.2864, allocations: 123.2 kB / 0.6904 GB, free: 1.918 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01084/0.2973, allocations: 3.305 MB / 0.6936 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.342e-05/0.2973, allocations: 16 kB / 0.6936 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.2974, allocations: 3.984 kB / 0.6936 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.683e-05/0.2974, allocations: 3.984 kB / 0.6936 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.2994, allocations: 1.21 MB / 0.6948 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.2995, allocations: 0 / 0.6948 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007298/0.3002, allocations: 115.8 kB / 0.6949 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0053/0.3055, allocations: 1.443 MB / 0.6963 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/0.3056, allocations: 19.98 kB / 0.6963 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01964/0.3253, allocations: 7.836 MB / 0.704 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3253, allocations: 0 / 0.704 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01297/0.3383, allocations: 4.132 MB / 0.708 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006776/0.339, allocations: 232 kB / 0.7082 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001978/0.3393, allocations: 24 kB / 0.7083 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/0.3405, allocations: 87.84 kB / 0.7083 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006271/0.3412, allocations: 184.7 kB / 0.7085 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.922e-05/0.3412, allocations: 20 kB / 0.7085 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001184/0.3424, allocations: 0.7641 MB / 0.7093 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3424, allocations: 0 / 0.7093 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001386/0.3438, allocations: 439.7 kB / 0.7097 GB, free: 13.84 MB / 0.5137 GB 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.01247/0.3563, allocations: 4.616 MB / 0.7142 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007248/0.3636, allocations: 2.359 MB / 0.7165 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/0.3636, allocations: 4 kB / 0.7165 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004177/0.3678, allocations: 1.317 MB / 0.7178 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.369, allocations: 86.91 kB / 0.7179 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02585/0.3949, allocations: 13.41 MB / 0.731 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007385/0.3957, allocations: 1.053 MB / 0.732 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000515/0.3962, allocations: 111.6 kB / 0.7321 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006781/0.3969, allocations: 423.3 kB / 0.7325 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of SimCode: time 9.22e-07/0.3969, allocations: 0 / 0.7325 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.856/2.253, allocations: 33.69 MB / 0.7654 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.89/17.14, allocations: 4.062 kB / 0.7654 GB, free: 4.766 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_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_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)