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.001316/0.001316, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.384/1.384, allocations: 222.9 MB / 238.8 MB, free: 4.758 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.001602/0.001602, allocations: 196.4 kB / 289.1 MB, free: 2.512 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4748/0.4748, allocations: 78.52 MB / 417.8 MB, free: 3.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 75.88 kB / 496.9 MB, free: 6.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1566, allocations: 68.18 MB / 0.5518 GB, free: 2.508 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.272/0.4287, allocations: 8.46 MB / 0.56 GB, free: 34.96 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005029/0.4338, allocations: 2.652 MB / 0.5626 GB, free: 34.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001556/0.4353, allocations: 12.34 kB / 0.5626 GB, free: 34.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000835/0.4362, allocations: 249.3 kB / 0.5629 GB, free: 34.28 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003721/0.44, allocations: 1.363 MB / 0.5642 GB, free: 34.01 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.4412, allocations: 0.5546 MB / 0.5648 GB, free: 33.96 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002962/0.4442, allocations: 2.432 MB / 0.5671 GB, free: 33.63 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005924/0.4448, allocations: 284.6 kB / 0.5674 GB, free: 33.56 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00154/0.4464, allocations: 0.9001 MB / 0.5683 GB, free: 33.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001876/0.4483, allocations: 1.276 MB / 0.5695 GB, free: 33.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007904/0.4491, allocations: 119.3 kB / 0.5696 GB, free: 33.03 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00147/0.4505, allocations: 282.4 kB / 0.5699 GB, free: 33.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008562/0.4514, allocations: 449.5 kB / 0.5703 GB, free: 32.9 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001556/0.453, allocations: 0.898 MB / 0.5712 GB, free: 32.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001969/0.4549, allocations: 2.285 MB / 0.5735 GB, free: 32.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.455, allocations: 0 / 0.5735 GB, free: 32.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.455, allocations: 0.5312 kB / 0.5735 GB, free: 32.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.353e-05/0.455, allocations: 2.875 kB / 0.5735 GB, free: 32.05 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.01908/0.4741, allocations: 4.946 MB / 0.5783 GB, free: 30.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.4742, allocations: 9.219 kB / 0.5783 GB, free: 30.86 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001877/0.4744, allocations: 133.8 kB / 0.5784 GB, free: 30.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003358/0.4777, allocations: 0.5796 MB / 0.579 GB, free: 30.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/0.4796, allocations: 1.217 MB / 0.5802 GB, free: 30.22 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002202/0.4798, allocations: 268.2 kB / 0.5804 GB, free: 29.99 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001876/0.48, allocations: 118.3 kB / 0.5805 GB, free: 29.95 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/0.4821, allocations: 1.087 MB / 0.5816 GB, free: 29.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.4821, allocations: 0 / 0.5816 GB, free: 29.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.4822, allocations: 39.47 kB / 0.5816 GB, free: 29.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/0.4822, allocations: 23.66 kB / 0.5817 GB, free: 29.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002317/0.4845, allocations: 1.179 MB / 0.5828 GB, free: 29.12 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.007213/0.4918, allocations: 4.618 MB / 0.5873 GB, free: 26.45 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002993/0.4948, allocations: 2.142 MB / 0.5894 GB, free: 25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001399/0.4962, allocations: 0.7966 MB / 0.5902 GB, free: 24.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001251/0.4963, allocations: 26 kB / 0.5902 GB, free: 24.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.4964, allocations: 44.31 kB / 0.5903 GB, free: 24.61 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 3.596e-06/0.4964, allocations: 0 / 0.5903 GB, free: 24.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=130): time 0.02754/0.5239, allocations: 6.694 MB / 0.5968 GB, free: 23.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.524, allocations: 69.41 kB / 0.5969 GB, free: 23.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003884/0.5279, allocations: 1.661 MB / 0.5985 GB, free: 22.42 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005448/0.5285, allocations: 55.36 kB / 0.5985 GB, free: 22.37 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007669/0.5293, allocations: 0.554 MB / 0.5991 GB, free: 21.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009603/0.5303, allocations: 0.4904 MB / 0.5996 GB, free: 21.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002395/0.5327, allocations: 0.5106 MB / 0.6001 GB, free: 21.31 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.603e-05/0.5327, allocations: 301.8 kB / 0.6003 GB, free: 21.01 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00244/0.5352, allocations: 1.145 MB / 0.6015 GB, free: 20.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002582/0.5378, allocations: 1.359 MB / 0.6028 GB, free: 19.97 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004492/0.5423, allocations: 2.345 MB / 0.6051 GB, free: 18.81 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/0.5423, allocations: 0 / 0.6051 GB, free: 18.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.009779/0.5521, allocations: 4.086 MB / 0.6091 GB, free: 17.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/0.5522, allocations: 5.609 kB / 0.6091 GB, free: 17.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.5522, allocations: 6.312 kB / 0.6091 GB, free: 17.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01107/0.5633, allocations: 2.819 MB / 0.6118 GB, free: 16.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002661/0.566, allocations: 484.1 kB / 0.6123 GB, free: 16.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005886/0.5719, allocations: 2.524 MB / 0.6148 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003204/0.5752, allocations: 242.7 kB / 0.615 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004971/0.5757, allocations: 96.67 kB / 0.6151 GB, free: 14.33 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.001031/0.5767, allocations: 309.3 kB / 0.6154 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006856/0.5774, allocations: 165.8 kB / 0.6155 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009899/0.5873, allocations: 3.548 MB / 0.619 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.818e-05/0.5874, allocations: 19.92 kB / 0.619 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/0.5875, allocations: 2.969 kB / 0.619 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.65e-05/0.5875, allocations: 3.984 kB / 0.619 GB, free: 10.27 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.014/0.6015, allocations: 5.667 MB / 0.6246 GB, free: 4.434 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.537e-05/0.6016, allocations: 0 / 0.6246 GB, free: 4.434 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.6026, allocations: 167.8 kB / 0.6247 GB, free: 4.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004913/0.6076, allocations: 1.482 MB / 0.6262 GB, free: 2.785 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002744/0.6079, allocations: 35.98 kB / 0.6262 GB, free: 2.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01721/0.6251, allocations: 7.174 MB / 0.6332 GB, free: 11.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.6252, allocations: 4 kB / 0.6332 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0135/0.6387, allocations: 4.56 MB / 0.6377 GB, free: 6.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/0.6398, allocations: 307.7 kB / 0.638 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000746/0.6405, allocations: 24 kB / 0.638 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001963/0.6425, allocations: 79.92 kB / 0.6381 GB, free: 6.418 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007686/0.6433, allocations: 189.4 kB / 0.6382 GB, free: 6.234 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001869/0.6435, allocations: 35.98 kB / 0.6383 GB, free: 6.199 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002231/0.6457, allocations: 1.09 MB / 0.6393 GB, free: 5.113 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6458, allocations: 0 / 0.6393 GB, free: 5.113 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002955/0.6487, allocations: 0.5895 MB / 0.6399 GB, free: 4.523 MB / 446.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.01394/0.6627, allocations: 5.166 MB / 0.645 GB, free: 15.32 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009138/0.6719, allocations: 2.973 MB / 0.6479 GB, free: 12.35 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.6719, allocations: 0 / 0.6479 GB, free: 12.35 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00486/0.6768, allocations: 1.513 MB / 0.6493 GB, free: 10.84 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002383/0.6792, allocations: 130.8 kB / 0.6495 GB, free: 10.71 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0508/0.73, allocations: 20.78 MB / 0.6698 GB, free: 5.09 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001292/0.7314, allocations: 1.246 MB / 0.671 GB, free: 3.809 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001207/0.7326, allocations: 161.4 kB / 0.6711 GB, free: 3.652 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001419/0.734, allocations: 0.6242 MB / 0.6717 GB, free: 3.027 MB / 478.1 MB Notification: Performance of SimCode: time 9.01e-07/0.7341, allocations: 4 kB / 0.6717 GB, free: 3.023 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07392/0.808, allocations: 41.75 MB / 0.7125 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/0.8083, allocations: 260 kB / 0.7128 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.324/4.132, allocations: 3.75 kB / 0.7128 GB, free: 9.387 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)