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.008227/0.008227, allocations: 100.5 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.407/1.407, allocations: 222.9 MB / 239.4 MB, free: 4.543 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.001345/0.001345, allocations: 200.4 kB / 289.7 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5015/0.5015, allocations: 91.89 MB / 431.8 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 79.72 kB / 0.5722 GB, free: 33.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1226, allocations: 71.29 MB / 0.6418 GB, free: 4.121 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.009337/0.1319, allocations: 8.235 MB / 0.6499 GB, free: 11.84 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005879/0.1379, allocations: 2.6 MB / 0.6524 GB, free: 9.238 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001596/0.1395, allocations: 8 kB / 0.6524 GB, free: 9.23 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.1408, allocations: 317.3 kB / 0.6527 GB, free: 8.918 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004113/0.1449, allocations: 1.188 MB / 0.6539 GB, free: 7.727 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.1467, allocations: 0.6836 MB / 0.6546 GB, free: 7.047 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003254/0.1499, allocations: 2.379 MB / 0.6569 GB, free: 4.66 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006965/0.1507, allocations: 321 kB / 0.6572 GB, free: 4.328 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001445/0.1521, allocations: 0.9534 MB / 0.6581 GB, free: 3.371 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001962/0.1541, allocations: 1.319 MB / 0.6594 GB, free: 2.047 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006303/0.1548, allocations: 200 kB / 0.6596 GB, free: 1.852 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001155/0.1559, allocations: 395.8 kB / 0.66 GB, free: 1.465 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007229/0.1567, allocations: 0.4943 MB / 0.6605 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00162/0.1583, allocations: 0.9752 MB / 0.6614 GB, free: 15.98 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003701/0.162, allocations: 2.334 MB / 0.6637 GB, free: 13.64 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.162, allocations: 4 kB / 0.6637 GB, free: 13.64 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.162, allocations: 0 / 0.6637 GB, free: 13.64 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.52e-05/0.1622, allocations: 0 / 0.6637 GB, free: 13.64 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.01646/0.1786, allocations: 4.155 MB / 0.6677 GB, free: 9.426 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.1787, allocations: 8.031 kB / 0.6678 GB, free: 9.418 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003751/0.1791, allocations: 135.4 kB / 0.6679 GB, free: 9.277 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004402/0.1835, allocations: 0.5847 MB / 0.6685 GB, free: 8.691 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003063/0.1866, allocations: 1.233 MB / 0.6697 GB, free: 7.41 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003322/0.1869, allocations: 268.8 kB / 0.6699 GB, free: 7.109 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003861/0.1873, allocations: 119.9 kB / 0.67 GB, free: 6.992 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002621/0.19, allocations: 1.089 MB / 0.6711 GB, free: 5.895 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.19, allocations: 0 / 0.6711 GB, free: 5.895 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.1901, allocations: 36 kB / 0.6711 GB, free: 5.859 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.1902, allocations: 27.94 kB / 0.6712 GB, free: 5.832 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002556/0.1927, allocations: 1.171 MB / 0.6723 GB, free: 4.664 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.008349/0.2011, allocations: 4.619 MB / 0.6768 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003313/0.2044, allocations: 2.139 MB / 0.6789 GB, free: 13.49 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001487/0.2059, allocations: 0.7895 MB / 0.6797 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001329/0.2061, allocations: 21.2 kB / 0.6797 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.2061, allocations: 47.88 kB / 0.6797 GB, free: 12.62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=130): time 3.276e-06/0.2061, allocations: 0 / 0.6797 GB, free: 12.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=130): time 0.02732/0.2335, allocations: 6.7 MB / 0.6863 GB, free: 5.887 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.2335, allocations: 64.72 kB / 0.6863 GB, free: 5.812 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003108/0.2367, allocations: 1.655 MB / 0.688 GB, free: 4.148 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003859/0.2371, allocations: 57.7 kB / 0.688 GB, free: 4.086 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005788/0.2377, allocations: 0.5621 MB / 0.6886 GB, free: 3.516 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007275/0.2384, allocations: 0.5191 MB / 0.6891 GB, free: 2.992 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001244/0.2396, allocations: 0.5173 MB / 0.6896 GB, free: 2.469 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.673e-05/0.2398, allocations: 305.1 kB / 0.6899 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002578/0.2423, allocations: 1.142 MB / 0.691 GB, free: 1.023 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002588/0.2449, allocations: 1.368 MB / 0.6923 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004651/0.2496, allocations: 2.334 MB / 0.6946 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/0.2496, allocations: 0 / 0.6946 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=348) (initialization): time 0.009843/0.2595, allocations: 4.095 MB / 0.6986 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.2595, allocations: 4.188 kB / 0.6986 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.2596, allocations: 8 kB / 0.6986 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01062/0.2702, allocations: 2.823 MB / 0.7014 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002312/0.2725, allocations: 483.3 kB / 0.7018 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00582/0.2784, allocations: 2.528 MB / 0.7043 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002648/0.281, allocations: 246.5 kB / 0.7045 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003343/0.2814, allocations: 95.97 kB / 0.7046 GB, free: 2.914 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.0007761/0.2822, allocations: 309.3 kB / 0.7049 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004646/0.2827, allocations: 178.8 kB / 0.7051 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01111/0.2938, allocations: 3.55 MB / 0.7085 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.2938, allocations: 15.98 kB / 0.7086 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.2938, allocations: 0 / 0.7086 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.782e-05/0.2938, allocations: 3.984 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.01387/0.3077, allocations: 5.654 MB / 0.7141 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/0.3078, allocations: 0 / 0.7141 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.3088, allocations: 163.8 kB / 0.7142 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005492/0.3143, allocations: 1.48 MB / 0.7157 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002084/0.3145, allocations: 35.98 kB / 0.7157 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01942/0.334, allocations: 7.85 MB / 0.7234 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.334, allocations: 0 / 0.7234 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01355/0.3475, allocations: 4.574 MB / 0.7279 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006771/0.3483, allocations: 315.6 kB / 0.7282 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004546/0.3487, allocations: 20 kB / 0.7282 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001636/0.3504, allocations: 83.92 kB / 0.7283 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006216/0.351, allocations: 193.4 kB / 0.7284 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/0.3511, allocations: 39.98 kB / 0.7285 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001786/0.3529, allocations: 1.09 MB / 0.7295 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.353, allocations: 3.938 kB / 0.7295 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001977/0.3549, allocations: 0.5934 MB / 0.7301 GB, free: 8.395 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.01365/0.3686, allocations: 5.174 MB / 0.7352 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008429/0.3771, allocations: 3.01 MB / 0.7381 GB, free: 176 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3771, allocations: 0 / 0.7381 GB, free: 176 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004433/0.3815, allocations: 1.539 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.001339/0.3829, allocations: 131.3 kB / 0.7397 GB, free: 14.49 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0369/0.4198, allocations: 18.93 MB / 0.7582 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008551/0.4207, allocations: 1.242 MB / 0.7595 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007168/0.4214, allocations: 155.2 kB / 0.7596 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/0.4225, allocations: 0.6281 MB / 0.7602 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of SimCode: time 9.32e-07/0.4225, allocations: 4 kB / 0.7602 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3496/0.7721, allocations: 45.06 MB / 0.8042 GB, free: 98.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/15.21, allocations: 15.06 kB / 0.8042 GB, free: 98.23 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)