Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_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.0006851/0.0006851, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.348/1.348, allocations: 223.2 MB / 239.3 MB, free: 5.516 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.001166/0.001166, allocations: 180.5 kB / 290.6 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5034/0.5034, allocations: 78.55 MB / 420.3 MB, free: 4.207 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.0004058, allocations: 12.28 kB / 0.4888 GB, free: 5.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.169, allocations: 69.35 MB / 0.5565 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.3026/0.4716, allocations: 7.956 MB / 0.5643 GB, free: 35 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004118/0.4758, allocations: 2.635 MB / 0.5668 GB, free: 34.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004686/0.4763, allocations: 13.31 kB / 0.5668 GB, free: 34.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005441/0.4768, allocations: 235.3 kB / 0.5671 GB, free: 33.96 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002714/0.4795, allocations: 1.355 MB / 0.5684 GB, free: 33.49 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008767/0.4804, allocations: 0.5538 MB / 0.5689 GB, free: 33.44 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001851/0.4823, allocations: 2.432 MB / 0.5713 GB, free: 32.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003546/0.4827, allocations: 287.5 kB / 0.5716 GB, free: 32.9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000627/0.4833, allocations: 0.8828 MB / 0.5724 GB, free: 32.67 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.4844, allocations: 1.246 MB / 0.5737 GB, free: 32.37 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002238/0.4847, allocations: 107 kB / 0.5738 GB, free: 32.37 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005456/0.4852, allocations: 283.1 kB / 0.574 GB, free: 32.36 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00035/0.4856, allocations: 432.2 kB / 0.5744 GB, free: 32.24 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005873/0.4862, allocations: 0.9061 MB / 0.5753 GB, free: 31.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001548/0.4877, allocations: 2.232 MB / 0.5775 GB, free: 31.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4878, allocations: 1.312 kB / 0.5775 GB, free: 31.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4878, allocations: 0 / 0.5775 GB, free: 31.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.847e-05/0.4878, allocations: 0 / 0.5775 GB, free: 31.36 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.01701/0.5048, allocations: 4.77 MB / 0.5822 GB, free: 30.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.5049, allocations: 11 kB / 0.5822 GB, free: 30.21 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002687/0.5051, allocations: 138.3 kB / 0.5823 GB, free: 30.17 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003024/0.5082, allocations: 0.5759 MB / 0.5829 GB, free: 30.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001701/0.5099, allocations: 1.216 MB / 0.5841 GB, free: 29.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002656/0.5102, allocations: 280.5 kB / 0.5843 GB, free: 29.37 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002095/0.5104, allocations: 113.5 kB / 0.5844 GB, free: 29.33 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/0.5125, allocations: 1.147 MB / 0.5856 GB, free: 28.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.5125, allocations: 0 / 0.5856 GB, free: 28.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/0.5126, allocations: 32.41 kB / 0.5856 GB, free: 28.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.896e-05/0.5127, allocations: 24.52 kB / 0.5856 GB, free: 28.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002476/0.5151, allocations: 1.234 MB / 0.5868 GB, free: 28.49 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.006609/0.5218, allocations: 4.646 MB / 0.5913 GB, free: 25.81 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003348/0.5251, allocations: 2.197 MB / 0.5935 GB, free: 24.35 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001642/0.5268, allocations: 0.8397 MB / 0.5943 GB, free: 24.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.5269, allocations: 25.58 kB / 0.5943 GB, free: 24.01 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.5269, allocations: 45.8 kB / 0.5944 GB, free: 23.96 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 2.535e-06/0.5269, allocations: 0 / 0.5944 GB, free: 23.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=130): time 0.02937/0.5563, allocations: 7.749 MB / 0.602 GB, free: 22.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.5564, allocations: 65.75 kB / 0.602 GB, free: 22.35 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002938/0.5593, allocations: 1.657 MB / 0.6036 GB, free: 21.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001999/0.5596, allocations: 56.05 kB / 0.6037 GB, free: 21.6 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000488/0.56, allocations: 0.5533 MB / 0.6042 GB, free: 21.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005453/0.5606, allocations: 0.4917 MB / 0.6047 GB, free: 20.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003624/0.561, allocations: 276.9 kB / 0.605 GB, free: 20.65 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.966e-05/0.561, allocations: 302.8 kB / 0.6053 GB, free: 20.35 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002286/0.5633, allocations: 1.19 MB / 0.6064 GB, free: 19.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002799/0.5661, allocations: 1.409 MB / 0.6078 GB, free: 19.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004639/0.5708, allocations: 2.437 MB / 0.6102 GB, free: 18.13 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/0.5708, allocations: 1.031 kB / 0.6102 GB, free: 18.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.01032/0.5811, allocations: 4.393 MB / 0.6145 GB, free: 16.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.5812, allocations: 5.094 kB / 0.6145 GB, free: 16.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.5812, allocations: 3.234 kB / 0.6145 GB, free: 16.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01123/0.5924, allocations: 3.083 MB / 0.6175 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001878/0.5943, allocations: 479.3 kB / 0.6179 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005259/0.5996, allocations: 2.695 MB / 0.6206 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002631/0.6022, allocations: 271.4 kB / 0.6208 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002073/0.6024, allocations: 91.97 kB / 0.6209 GB, free: 11.41 MB / 430.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.0007182/0.6032, allocations: 315.1 kB / 0.6212 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004871/0.6037, allocations: 165.8 kB / 0.6214 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01075/0.6144, allocations: 4.126 MB / 0.6254 GB, free: 6.793 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.6144, allocations: 16 kB / 0.6254 GB, free: 6.777 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.6145, allocations: 0 / 0.6254 GB, free: 6.777 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.6145, allocations: 11.97 kB / 0.6254 GB, free: 6.766 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 postOpt removeSimpleEquations (simulation): time 0.01269/0.6272, allocations: 6.24 MB / 0.6315 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.6272, allocations: 0 / 0.6315 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008833/0.6281, allocations: 168.7 kB / 0.6317 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005575/0.6337, allocations: 1.713 MB / 0.6334 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001235/0.6338, allocations: 28 kB / 0.6334 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01908/0.6529, allocations: 7.799 MB / 0.641 GB, free: 6.512 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.6529, allocations: 4 kB / 0.641 GB, free: 6.508 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01393/0.6668, allocations: 5.205 MB / 0.6461 GB, free: 1.273 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006513/0.6675, allocations: 310.8 kB / 0.6464 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003332/0.6679, allocations: 20 kB / 0.6464 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001721/0.6696, allocations: 108.9 kB / 0.6465 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004613/0.6701, allocations: 181.4 kB / 0.6467 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.109e-05/0.6702, allocations: 35.98 kB / 0.6467 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001901/0.6721, allocations: 1.099 MB / 0.6478 GB, free: 15.52 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6721, allocations: 0 / 0.6478 GB, free: 15.52 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002017/0.6741, allocations: 0.5933 MB / 0.6484 GB, free: 14.93 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.01403/0.6881, allocations: 5.789 MB / 0.654 GB, free: 9.102 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00879/0.6969, allocations: 3.179 MB / 0.6571 GB, free: 5.922 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.697, allocations: 4 kB / 0.6571 GB, free: 5.918 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004507/0.7015, allocations: 1.654 MB / 0.6588 GB, free: 4.262 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.7027, allocations: 131.6 kB / 0.6589 GB, free: 4.133 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04386/0.7466, allocations: 21.78 MB / 0.6801 GB, free: 13.51 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009268/0.7476, allocations: 1.24 MB / 0.6814 GB, free: 12.23 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000639/0.7482, allocations: 162.4 kB / 0.6815 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00098/0.7492, allocations: 0.6281 MB / 0.6821 GB, free: 11.45 MB / 494.1 MB Notification: Performance of SimCode: time 6.01e-07/0.7492, allocations: 0 / 0.6821 GB, free: 11.45 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07247/0.8217, allocations: 41.11 MB / 0.7223 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/0.8219, allocations: 261.3 kB / 0.7225 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.018/3.84, allocations: 0 / 0.7225 GB, free: 2.453 MB / 0.5137 GB (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)