Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_2_0_0_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/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08814/0.08814, allocations: 12.59 MB / 28.22 MB, free: 0.7344 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 111.4 kB / 31.83 MB, free: 3.879 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.1 MB / 240.4 MB, free: 12.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001482/0.001483, allocations: 184.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4519/0.4519, allocations: 78.51 MB / 419.3 MB, free: 11.22 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002904/0.002904, allocations: 138.8 kB / 0.5554 GB, free: 28.72 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1318, allocations: 68.14 MB / 0.6219 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.009432/0.1413, allocations: 8.271 MB / 0.63 GB, free: 7.621 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005732/0.1471, allocations: 2.581 MB / 0.6325 GB, free: 5.031 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00146/0.1486, allocations: 12 kB / 0.6325 GB, free: 5.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.1497, allocations: 305.4 kB / 0.6328 GB, free: 4.719 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004731/0.1545, allocations: 1.548 MB / 0.6343 GB, free: 3.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.156, allocations: 0.5965 MB / 0.6349 GB, free: 2.586 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003684/0.1597, allocations: 2.562 MB / 0.6374 GB, free: 16 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007991/0.1605, allocations: 312.8 kB / 0.6377 GB, free: 15.69 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001728/0.1623, allocations: 1.016 MB / 0.6387 GB, free: 14.67 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002069/0.1644, allocations: 1.354 MB / 0.64 GB, free: 13.31 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009817/0.1654, allocations: 204 kB / 0.6402 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001389/0.1668, allocations: 383.8 kB / 0.6406 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007988/0.1676, allocations: 0.5254 MB / 0.6411 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00168/0.1693, allocations: 0.9829 MB / 0.642 GB, free: 11.22 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003338/0.1726, allocations: 2.381 MB / 0.6444 GB, free: 8.828 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1726, allocations: 0 / 0.6444 GB, free: 8.828 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1726, allocations: 0 / 0.6444 GB, free: 8.828 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.24e-05/0.1727, allocations: 4 kB / 0.6444 GB, free: 8.824 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.02129/0.194, allocations: 5.006 MB / 0.6493 GB, free: 3.754 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.1941, allocations: 11.98 kB / 0.6493 GB, free: 3.742 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004025/0.1945, allocations: 135.4 kB / 0.6494 GB, free: 3.602 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003735/0.1983, allocations: 0.5925 MB / 0.65 GB, free: 3.008 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002178/0.2005, allocations: 1.225 MB / 0.6512 GB, free: 1.734 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002921/0.2008, allocations: 268.8 kB / 0.6514 GB, free: 1.438 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002472/0.201, allocations: 119.9 kB / 0.6515 GB, free: 1.32 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002174/0.2032, allocations: 1.089 MB / 0.6526 GB, free: 232 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.2032, allocations: 4 kB / 0.6526 GB, free: 228 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.2034, allocations: 32 kB / 0.6526 GB, free: 196 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/0.2034, allocations: 23.94 kB / 0.6527 GB, free: 172 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002376/0.2058, allocations: 1.179 MB / 0.6538 GB, free: 14.98 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.007625/0.2134, allocations: 4.611 MB / 0.6583 GB, free: 10.15 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003234/0.2167, allocations: 2.148 MB / 0.6604 GB, free: 7.824 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001426/0.2181, allocations: 0.7895 MB / 0.6612 GB, free: 7.027 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.2182, allocations: 29.3 kB / 0.6612 GB, free: 7 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.2183, allocations: 43.88 kB / 0.6613 GB, free: 6.945 MB / 478.1 MB Notification: Performance of pre-optimization done (n=130): time 3.186e-06/0.2183, allocations: 0 / 0.6613 GB, free: 6.945 MB / 478.1 MB Notification: Performance of matching and sorting (n=130): time 0.02602/0.2443, allocations: 6.696 MB / 0.6678 GB, free: 224 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.2444, allocations: 68.72 kB / 0.6679 GB, free: 144 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002566/0.247, allocations: 1.655 MB / 0.6695 GB, free: 14.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003083/0.2473, allocations: 57.7 kB / 0.6695 GB, free: 14.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00045/0.2477, allocations: 0.5582 MB / 0.6701 GB, free: 13.85 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005459/0.2483, allocations: 0.5114 MB / 0.6706 GB, free: 13.33 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008404/0.2491, allocations: 0.5173 MB / 0.6711 GB, free: 12.81 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.2492, allocations: 305.1 kB / 0.6714 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00222/0.2515, allocations: 1.149 MB / 0.6725 GB, free: 11.36 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002365/0.2539, allocations: 1.356 MB / 0.6738 GB, free: 9.973 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004273/0.2581, allocations: 2.342 MB / 0.6761 GB, free: 7.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.2582, allocations: 0 / 0.6761 GB, free: 7.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.0093/0.2675, allocations: 4.091 MB / 0.6801 GB, free: 3.457 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.2675, allocations: 8 kB / 0.6801 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.2675, allocations: 3.938 kB / 0.6801 GB, free: 3.445 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01087/0.2784, allocations: 2.827 MB / 0.6829 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002375/0.2808, allocations: 483.3 kB / 0.6833 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006307/0.2871, allocations: 2.528 MB / 0.6858 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002932/0.2901, allocations: 246.5 kB / 0.686 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000402/0.2905, allocations: 91.97 kB / 0.6861 GB, free: 13.25 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.0008765/0.2914, allocations: 317.3 kB / 0.6864 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005545/0.292, allocations: 178.8 kB / 0.6866 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01111/0.3031, allocations: 3.542 MB / 0.6901 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/0.3031, allocations: 16 kB / 0.6901 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.3031, allocations: 4 kB / 0.6901 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.878e-05/0.3032, allocations: 3.984 kB / 0.6901 GB, free: 9.168 MB / 0.4981 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.01427/0.3174, allocations: 5.662 MB / 0.6956 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.3175, allocations: 3.938 kB / 0.6956 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009768/0.3185, allocations: 159.8 kB / 0.6958 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005347/0.3238, allocations: 1.484 MB / 0.6972 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001306/0.324, allocations: 27.98 kB / 0.6972 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01951/0.3435, allocations: 7.862 MB / 0.7049 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3435, allocations: 4 kB / 0.7049 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01366/0.3572, allocations: 4.578 MB / 0.7094 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009364/0.3581, allocations: 307.7 kB / 0.7097 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005759/0.3587, allocations: 24 kB / 0.7097 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001828/0.3606, allocations: 79.92 kB / 0.7098 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006227/0.3612, allocations: 197.4 kB / 0.71 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/0.3614, allocations: 35.98 kB / 0.71 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002234/0.3636, allocations: 1.09 MB / 0.7111 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.3e-07/0.3636, allocations: 0 / 0.7111 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002435/0.3661, allocations: 0.5934 MB / 0.7117 GB, free: 2.715 MB / 0.5137 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.3009/0.667, allocations: 5.158 MB / 0.7167 GB, free: 83.42 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008655/0.6757, allocations: 3.007 MB / 0.7196 GB, free: 83.35 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6757, allocations: 0.8438 kB / 0.7196 GB, free: 83.35 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004423/0.6801, allocations: 1.536 MB / 0.7211 GB, free: 82.83 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.6814, allocations: 128.4 kB / 0.7213 GB, free: 82.74 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03466/0.7161, allocations: 18.94 MB / 0.7397 GB, free: 74.72 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005414/0.7166, allocations: 1.232 MB / 0.7409 GB, free: 73.99 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005514/0.7172, allocations: 164 kB / 0.7411 GB, free: 73.95 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007643/0.718, allocations: 0.6307 MB / 0.7417 GB, free: 73.46 MB / 0.5137 GB Notification: Performance of SimCode: time 1.122e-06/0.718, allocations: 0 / 0.7417 GB, free: 73.46 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06082/0.7788, allocations: 45.08 MB / 0.7857 GB, free: 32.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.69/15.47, allocations: 7.859 kB / 0.7858 GB, free: 32.69 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)