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.007675/0.007675, allocations: 96.95 kB / 15.73 MB, free: 6.484 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.35/1.35, allocations: 222.9 MB / 239.4 MB, free: 4.383 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.001515/0.001515, allocations: 192.5 kB / 289.7 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5151/0.5151, allocations: 91.91 MB / 431.8 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001492, allocations: 79.25 kB / 0.5722 GB, free: 33.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1376, allocations: 71.29 MB / 0.6418 GB, free: 4.102 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.00663/0.1443, allocations: 6.198 MB / 0.6479 GB, free: 13.87 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003977/0.1483, allocations: 2.106 MB / 0.6499 GB, free: 11.76 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006438/0.149, allocations: 8 kB / 0.6499 GB, free: 11.75 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005698/0.1496, allocations: 242.1 kB / 0.6502 GB, free: 11.51 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002025/0.1516, allocations: 0.9267 MB / 0.6511 GB, free: 10.58 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.1528, allocations: 0.5583 MB / 0.6516 GB, free: 10.03 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001736/0.1545, allocations: 1.673 MB / 0.6533 GB, free: 8.352 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003367/0.1549, allocations: 207.6 kB / 0.6535 GB, free: 8.137 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007794/0.1557, allocations: 0.681 MB / 0.6541 GB, free: 7.453 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009858/0.1566, allocations: 0.9183 MB / 0.655 GB, free: 6.531 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002045/0.1569, allocations: 148 kB / 0.6552 GB, free: 6.387 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005605/0.1574, allocations: 319.8 kB / 0.6555 GB, free: 6.074 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002807/0.1577, allocations: 358.7 kB / 0.6558 GB, free: 5.723 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005535/0.1583, allocations: 0.6799 MB / 0.6565 GB, free: 5.039 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001718/0.16, allocations: 1.696 MB / 0.6581 GB, free: 3.336 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.16, allocations: 0 / 0.6581 GB, free: 3.336 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.16, allocations: 4 kB / 0.6581 GB, free: 3.332 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.926e-05/0.1601, allocations: 0 / 0.6581 GB, free: 3.332 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.01221/0.1723, allocations: 3.191 MB / 0.6613 GB, free: 88 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.869e-05/0.1724, allocations: 8.031 kB / 0.6613 GB, free: 80 kB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000186/0.1725, allocations: 106.8 kB / 0.6614 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003063/0.1756, allocations: 0.4996 MB / 0.6618 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.1772, allocations: 0.9033 MB / 0.6627 GB, free: 14.51 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003136/0.1775, allocations: 222.2 kB / 0.6629 GB, free: 14.26 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/0.1777, allocations: 87.94 kB / 0.663 GB, free: 14.17 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002006/0.1797, allocations: 0.8887 MB / 0.6639 GB, free: 13.28 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.1798, allocations: 0 / 0.6639 GB, free: 13.28 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.411e-05/0.1799, allocations: 28 kB / 0.6639 GB, free: 13.25 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.1799, allocations: 12 kB / 0.6639 GB, free: 13.24 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00232/0.1822, allocations: 0.9928 MB / 0.6649 GB, free: 12.25 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.004957/0.1872, allocations: 2.923 MB / 0.6678 GB, free: 9.191 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002892/0.1901, allocations: 1.09 MB / 0.6688 GB, free: 8.098 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001348/0.1914, allocations: 0.6697 MB / 0.6695 GB, free: 7.426 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.975e-05/0.1915, allocations: 12.98 kB / 0.6695 GB, free: 7.41 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.1916, allocations: 43.56 kB / 0.6695 GB, free: 7.359 MB / 478.1 MB Notification: Performance of pre-optimization done (n=94): time 4.127e-06/0.1916, allocations: 0 / 0.6695 GB, free: 7.359 MB / 478.1 MB Notification: Performance of matching and sorting (n=94): time 0.02671/0.2183, allocations: 6.498 MB / 0.6759 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.2184, allocations: 68.34 kB / 0.6759 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/0.2201, allocations: 1.145 MB / 0.6771 GB, free: 15.58 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002428/0.2204, allocations: 45.7 kB / 0.6771 GB, free: 15.53 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002973/0.2207, allocations: 398.2 kB / 0.6775 GB, free: 15.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003923/0.2211, allocations: 384.8 kB / 0.6778 GB, free: 14.76 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006236/0.2217, allocations: 363.4 kB / 0.6782 GB, free: 14.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.895e-05/0.2218, allocations: 305.1 kB / 0.6785 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001916/0.2237, allocations: 0.9058 MB / 0.6794 GB, free: 13.19 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001927/0.2257, allocations: 0.9351 MB / 0.6803 GB, free: 12.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003823/0.2295, allocations: 1.813 MB / 0.6821 GB, free: 10.44 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.2295, allocations: 0 / 0.6821 GB, free: 10.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007047/0.2366, allocations: 3.056 MB / 0.685 GB, free: 7.367 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.2366, allocations: 8 kB / 0.685 GB, free: 7.359 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.2366, allocations: 0 / 0.685 GB, free: 7.359 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008873/0.2455, allocations: 2.272 MB / 0.6873 GB, free: 5.086 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/0.2471, allocations: 327.5 kB / 0.6876 GB, free: 4.766 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005457/0.2526, allocations: 2.265 MB / 0.6898 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002111/0.2547, allocations: 202.9 kB / 0.69 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002342/0.2549, allocations: 59.98 kB / 0.69 GB, free: 2.215 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.0006072/0.2556, allocations: 249.5 kB / 0.6903 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003641/0.2559, allocations: 123.2 kB / 0.6904 GB, free: 1.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01123/0.2672, allocations: 3.301 MB / 0.6936 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/0.2672, allocations: 15.94 kB / 0.6936 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.2672, allocations: 0 / 0.6936 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.2673, allocations: 7.984 kB / 0.6936 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/0.269, allocations: 1.207 MB / 0.6948 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/0.269, allocations: 0 / 0.6948 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007138/0.2697, allocations: 111.8 kB / 0.6949 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005379/0.2751, allocations: 1.443 MB / 0.6963 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001271/0.2753, allocations: 24 kB / 0.6964 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02004/0.2953, allocations: 7.84 MB / 0.704 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2954, allocations: 3.938 kB / 0.704 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01331/0.3087, allocations: 4.128 MB / 0.708 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006193/0.3094, allocations: 240 kB / 0.7083 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004829/0.3099, allocations: 27.94 kB / 0.7083 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001511/0.3114, allocations: 83.91 kB / 0.7084 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005889/0.312, allocations: 172.8 kB / 0.7085 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001363/0.3121, allocations: 24 kB / 0.7086 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001311/0.3135, allocations: 0.7641 MB / 0.7093 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.6e-07/0.3135, allocations: 0 / 0.7093 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001656/0.3151, allocations: 439.7 kB / 0.7097 GB, free: 13.77 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.01292/0.3281, allocations: 4.618 MB / 0.7142 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007582/0.3357, allocations: 2.367 MB / 0.7166 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.3357, allocations: 0 / 0.7166 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004231/0.34, allocations: 1.309 MB / 0.7178 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.3413, allocations: 88.3 kB / 0.7179 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02641/0.3677, allocations: 13.4 MB / 0.731 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006673/0.3685, allocations: 1.057 MB / 0.732 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004985/0.369, allocations: 107.6 kB / 0.7321 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007002/0.3697, allocations: 427.2 kB / 0.7325 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of SimCode: time 7.02e-07/0.3697, allocations: 0 / 0.7325 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06556/0.4353, allocations: 33.69 MB / 0.7654 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.2, allocations: 8.562 kB / 0.7655 GB, free: 4.695 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)