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.001241/0.001241, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 239.3 MB, free: 4.609 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.001694/0.001694, allocations: 192.4 kB / 289.6 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5395/0.5395, allocations: 91.91 MB / 431.6 MB, free: 9.285 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 87.84 kB / 0.502 GB, free: 7.656 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3932, allocations: 71.25 MB / 0.5716 GB, free: 36.49 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.006999/0.4003, allocations: 8.235 MB / 0.5796 GB, free: 31.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004324/0.4047, allocations: 2.611 MB / 0.5822 GB, free: 29.6 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007101/0.4054, allocations: 9.562 kB / 0.5822 GB, free: 29.6 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005942/0.406, allocations: 305.5 kB / 0.5825 GB, free: 29.44 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002175/0.4082, allocations: 1.143 MB / 0.5836 GB, free: 28.71 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.4094, allocations: 0.7029 MB / 0.5843 GB, free: 28.37 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001831/0.4112, allocations: 2.357 MB / 0.5866 GB, free: 27.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000399/0.4116, allocations: 316.9 kB / 0.5869 GB, free: 27.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009445/0.4126, allocations: 0.9537 MB / 0.5878 GB, free: 26.65 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.4138, allocations: 1.31 MB / 0.5891 GB, free: 26.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003643/0.4141, allocations: 202.7 kB / 0.5893 GB, free: 26.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007571/0.4149, allocations: 379.3 kB / 0.5896 GB, free: 26 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003221/0.4152, allocations: 0.5026 MB / 0.5901 GB, free: 25.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006997/0.4159, allocations: 0.9697 MB / 0.5911 GB, free: 25.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001834/0.4178, allocations: 2.305 MB / 0.5933 GB, free: 24.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4178, allocations: 0 / 0.5933 GB, free: 24.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4178, allocations: 0 / 0.5933 GB, free: 24.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.676e-05/0.4178, allocations: 0 / 0.5933 GB, free: 24.04 MB / 430.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.0152/0.433, allocations: 4.092 MB / 0.5973 GB, free: 22.49 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.4331, allocations: 10.94 kB / 0.5973 GB, free: 22.49 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001783/0.4333, allocations: 140.3 kB / 0.5975 GB, free: 22.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003514/0.4368, allocations: 0.58 MB / 0.598 GB, free: 22.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001978/0.4388, allocations: 1.223 MB / 0.5992 GB, free: 21.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002642/0.4391, allocations: 269.2 kB / 0.5995 GB, free: 21.21 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/0.4393, allocations: 110.8 kB / 0.5996 GB, free: 21.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002195/0.4415, allocations: 1.091 MB / 0.6007 GB, free: 20.77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.4415, allocations: 0.5625 kB / 0.6007 GB, free: 20.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.4416, allocations: 31.5 kB / 0.6007 GB, free: 20.74 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.714e-05/0.4417, allocations: 23.81 kB / 0.6007 GB, free: 20.74 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002461/0.4441, allocations: 1.179 MB / 0.6019 GB, free: 20.35 MB / 430.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.007896/0.452, allocations: 4.628 MB / 0.6064 GB, free: 17.67 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003163/0.4552, allocations: 2.14 MB / 0.6085 GB, free: 16.19 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/0.4568, allocations: 0.8018 MB / 0.6093 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.4569, allocations: 21.28 kB / 0.6093 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.4569, allocations: 45.19 kB / 0.6093 GB, free: 15.81 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 3.537e-06/0.4569, allocations: 0 / 0.6093 GB, free: 15.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=130): time 0.02795/0.4849, allocations: 6.697 MB / 0.6159 GB, free: 13.9 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.485, allocations: 65.62 kB / 0.6159 GB, free: 13.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002917/0.4879, allocations: 1.657 MB / 0.6175 GB, free: 12.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003941/0.4883, allocations: 56.7 kB / 0.6176 GB, free: 12.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003786/0.4887, allocations: 0.5583 MB / 0.6181 GB, free: 12.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000529/0.4892, allocations: 0.4919 MB / 0.6186 GB, free: 11.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008596/0.4901, allocations: 0.5109 MB / 0.6191 GB, free: 11.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.95e-05/0.4902, allocations: 302.2 kB / 0.6194 GB, free: 11.33 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002143/0.4923, allocations: 1.144 MB / 0.6205 GB, free: 10.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002358/0.4947, allocations: 1.361 MB / 0.6218 GB, free: 9.992 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003987/0.4987, allocations: 2.343 MB / 0.6241 GB, free: 8.191 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.4987, allocations: 0 / 0.6241 GB, free: 8.191 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.008146/0.5069, allocations: 4.078 MB / 0.6281 GB, free: 4.074 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.5069, allocations: 12.03 kB / 0.6281 GB, free: 4.062 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.5069, allocations: 0 / 0.6281 GB, free: 4.062 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009806/0.5167, allocations: 2.834 MB / 0.6309 GB, free: 1.219 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002268/0.519, allocations: 479.4 kB / 0.6314 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005504/0.5246, allocations: 2.531 MB / 0.6338 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003357/0.5279, allocations: 241.9 kB / 0.6341 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002966/0.5283, allocations: 87.97 kB / 0.6341 GB, free: 13.86 MB / 446.1 MB 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.0008282/0.5291, allocations: 321.3 kB / 0.6344 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004589/0.5296, allocations: 165.8 kB / 0.6346 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01124/0.5408, allocations: 3.55 MB / 0.6381 GB, free: 9.805 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.817e-05/0.5409, allocations: 16 kB / 0.6381 GB, free: 9.789 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.5409, allocations: 7.938 kB / 0.6381 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.379e-05/0.5409, allocations: 3.984 kB / 0.6381 GB, free: 9.777 MB / 446.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 postOpt removeSimpleEquations (simulation): time 0.01403/0.5549, allocations: 5.658 MB / 0.6436 GB, free: 3.945 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.555, allocations: 0 / 0.6436 GB, free: 3.945 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.5561, allocations: 167.8 kB / 0.6438 GB, free: 3.781 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005461/0.5615, allocations: 1.488 MB / 0.6452 GB, free: 2.289 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002022/0.5618, allocations: 31.98 kB / 0.6453 GB, free: 2.258 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0198/0.5816, allocations: 7.849 MB / 0.6529 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.5816, allocations: 7.984 kB / 0.6529 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01382/0.5954, allocations: 4.556 MB / 0.6574 GB, free: 5.68 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008881/0.5964, allocations: 298.7 kB / 0.6577 GB, free: 5.367 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006598/0.597, allocations: 28 kB / 0.6577 GB, free: 5.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001918/0.599, allocations: 79.92 kB / 0.6578 GB, free: 5.262 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006648/0.5997, allocations: 189.5 kB / 0.658 GB, free: 5.078 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/0.5998, allocations: 39.92 kB / 0.658 GB, free: 5.039 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002008/0.6018, allocations: 1.094 MB / 0.6591 GB, free: 3.949 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6018, allocations: 0 / 0.6591 GB, free: 3.949 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002337/0.6042, allocations: 0.601 MB / 0.6597 GB, free: 3.348 MB / 462.1 MB 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.0139/0.6181, allocations: 5.161 MB / 0.6647 GB, free: 14.15 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009554/0.6277, allocations: 3.049 MB / 0.6677 GB, free: 11.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.6277, allocations: 0 / 0.6677 GB, free: 11.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004783/0.6325, allocations: 1.524 MB / 0.6692 GB, free: 9.562 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002362/0.6349, allocations: 133.5 kB / 0.6693 GB, free: 9.43 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04282/0.6777, allocations: 20.31 MB / 0.6891 GB, free: 4.16 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/0.6789, allocations: 1.238 MB / 0.6903 GB, free: 2.891 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008152/0.6797, allocations: 163.2 kB / 0.6905 GB, free: 2.727 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/0.6808, allocations: 0.6243 MB / 0.6911 GB, free: 2.102 MB / 494.1 MB Notification: Performance of SimCode: time 1.303e-06/0.6809, allocations: 0 / 0.6911 GB, free: 2.102 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08974/0.7706, allocations: 44.59 MB / 0.7346 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.63, allocations: 5.5 kB / 0.7346 GB, free: 5.734 MB / 0.5294 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)