Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.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.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_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.008485/0.008485, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.478/1.478, allocations: 222.9 MB / 239.4 MB, free: 4.547 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.001326/0.001327, allocations: 195.4 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5087/0.5087, allocations: 91.91 MB / 431.8 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 80.66 kB / 0.5722 GB, free: 33.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1253, allocations: 71.29 MB / 0.6418 GB, free: 4.125 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.00916/0.1345, allocations: 8.229 MB / 0.6499 GB, free: 11.86 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005077/0.1396, allocations: 2.612 MB / 0.6524 GB, free: 9.238 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.1407, allocations: 12 kB / 0.6524 GB, free: 9.227 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008729/0.1416, allocations: 305.3 kB / 0.6527 GB, free: 8.926 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003211/0.1449, allocations: 1.188 MB / 0.6539 GB, free: 7.734 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.1464, allocations: 0.6991 MB / 0.6546 GB, free: 7.039 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002862/0.1492, allocations: 2.371 MB / 0.6569 GB, free: 4.66 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005328/0.1498, allocations: 313.1 kB / 0.6572 GB, free: 4.336 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001311/0.1511, allocations: 0.9613 MB / 0.6581 GB, free: 3.371 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001648/0.1528, allocations: 1.319 MB / 0.6594 GB, free: 2.047 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005033/0.1533, allocations: 204 kB / 0.6596 GB, free: 1.848 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009125/0.1542, allocations: 379.8 kB / 0.66 GB, free: 1.477 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004589/0.1547, allocations: 0.506 MB / 0.6605 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009109/0.1556, allocations: 0.9675 MB / 0.6614 GB, free: 15.99 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002363/0.158, allocations: 2.338 MB / 0.6637 GB, free: 13.65 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.158, allocations: 0 / 0.6637 GB, free: 13.65 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.158, allocations: 0 / 0.6637 GB, free: 13.65 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.291e-05/0.158, allocations: 0 / 0.6637 GB, free: 13.65 MB / 478.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.01526/0.1733, allocations: 4.155 MB / 0.6677 GB, free: 9.434 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.1733, allocations: 8.031 kB / 0.6678 GB, free: 9.426 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001829/0.1735, allocations: 139.4 kB / 0.6679 GB, free: 9.281 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003485/0.177, allocations: 0.5847 MB / 0.6685 GB, free: 8.695 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002001/0.1791, allocations: 1.229 MB / 0.6697 GB, free: 7.418 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002769/0.1793, allocations: 276.8 kB / 0.6699 GB, free: 7.109 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000231/0.1796, allocations: 120 kB / 0.67 GB, free: 6.992 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002116/0.1817, allocations: 1.085 MB / 0.6711 GB, free: 5.898 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.1817, allocations: 0 / 0.6711 GB, free: 5.898 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/0.1819, allocations: 36 kB / 0.6711 GB, free: 5.863 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.1819, allocations: 23.94 kB / 0.6712 GB, free: 5.84 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002383/0.1843, allocations: 1.175 MB / 0.6723 GB, free: 4.668 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.007396/0.1917, allocations: 4.615 MB / 0.6768 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003256/0.195, allocations: 2.139 MB / 0.6789 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001461/0.1964, allocations: 0.7934 MB / 0.6797 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001384/0.1966, allocations: 25.2 kB / 0.6797 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.1966, allocations: 51.86 kB / 0.6797 GB, free: 12.62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=130): time 3.035e-06/0.1966, allocations: 0 / 0.6797 GB, free: 12.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=130): time 0.02698/0.2236, allocations: 6.696 MB / 0.6863 GB, free: 5.887 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.2237, allocations: 68.72 kB / 0.6864 GB, free: 5.809 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00251/0.2262, allocations: 1.655 MB / 0.688 GB, free: 4.145 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002959/0.2265, allocations: 57.7 kB / 0.688 GB, free: 4.082 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004531/0.227, allocations: 0.5582 MB / 0.6886 GB, free: 3.516 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00052/0.2275, allocations: 0.5113 MB / 0.6891 GB, free: 3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008866/0.2284, allocations: 0.5134 MB / 0.6896 GB, free: 2.48 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.2285, allocations: 309 kB / 0.6899 GB, free: 2.176 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002294/0.2308, allocations: 1.153 MB / 0.691 GB, free: 1.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002493/0.2334, allocations: 1.356 MB / 0.6923 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004448/0.2378, allocations: 2.342 MB / 0.6946 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.517e-06/0.2379, allocations: 4 kB / 0.6946 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=348) (initialization): time 0.009412/0.2473, allocations: 4.087 MB / 0.6986 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.718e-05/0.2473, allocations: 9.25 kB / 0.6986 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.2474, allocations: 3.984 kB / 0.6986 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01081/0.2582, allocations: 2.823 MB / 0.7014 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002278/0.2605, allocations: 475.3 kB / 0.7018 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005602/0.2661, allocations: 2.535 MB / 0.7043 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002585/0.2687, allocations: 250.5 kB / 0.7045 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002601/0.269, allocations: 87.97 kB / 0.7046 GB, free: 2.922 MB / 0.4981 GB 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.0006081/0.2696, allocations: 317.3 kB / 0.7049 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000345/0.27, allocations: 178.8 kB / 0.7051 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01105/0.281, allocations: 3.546 MB / 0.7086 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.2811, allocations: 12 kB / 0.7086 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.2811, allocations: 4 kB / 0.7086 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.496e-05/0.2811, allocations: 7.969 kB / 0.7086 GB, free: 14.84 MB / 0.5137 GB 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.01389/0.295, allocations: 5.65 MB / 0.7141 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.2951, allocations: 3.938 kB / 0.7141 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.2961, allocations: 163.8 kB / 0.7143 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005476/0.3016, allocations: 1.484 MB / 0.7157 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002138/0.3019, allocations: 27.98 kB / 0.7157 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01887/0.3207, allocations: 7.858 MB / 0.7234 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3208, allocations: 0 / 0.7234 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01297/0.3338, allocations: 4.571 MB / 0.7279 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007071/0.3345, allocations: 315.6 kB / 0.7282 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002869/0.3348, allocations: 24 kB / 0.7282 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/0.3362, allocations: 75.92 kB / 0.7283 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005437/0.3368, allocations: 197.4 kB / 0.7285 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.517e-05/0.3369, allocations: 32 kB / 0.7285 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001511/0.3384, allocations: 1.094 MB / 0.7296 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.525e-06/0.3384, allocations: 0 / 0.7296 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001513/0.34, allocations: 0.5972 MB / 0.7301 GB, free: 8.398 MB / 0.5294 GB 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.01316/0.3531, allocations: 5.178 MB / 0.7352 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008221/0.3614, allocations: 3.006 MB / 0.7381 GB, free: 180 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.3614, allocations: 3.938 kB / 0.7381 GB, free: 176 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004581/0.366, allocations: 1.535 MB / 0.7396 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.3674, allocations: 129.6 kB / 0.7398 GB, free: 14.49 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03789/0.4053, allocations: 18.93 MB / 0.7582 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000754/0.4061, allocations: 1.23 MB / 0.7594 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007878/0.4069, allocations: 167.2 kB / 0.7596 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/0.408, allocations: 0.6359 MB / 0.7602 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of SimCode: time 1.162e-06/0.408, allocations: 0 / 0.7602 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3423/0.7504, allocations: 45.06 MB / 0.8042 GB, free: 97.58 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.82/15.57, allocations: 4.062 kB / 0.8042 GB, free: 97.58 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)