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.001574/0.001573, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.721/1.721, allocations: 222.9 MB / 238.9 MB, free: 4.766 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.00161/0.00161, allocations: 188.5 kB / 289.1 MB, free: 2.504 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5878/0.5878, allocations: 91.9 MB / 431.2 MB, free: 9.457 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 79.81 kB / 0.5013 GB, free: 8.074 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5055/0.5075, allocations: 71.26 MB / 0.5709 GB, free: 36.18 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.007721/0.5152, allocations: 8.49 MB / 0.5792 GB, free: 31.08 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006071/0.5214, allocations: 2.641 MB / 0.5818 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001804/0.5232, allocations: 11.5 kB / 0.5818 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008922/0.5242, allocations: 243.2 kB / 0.582 GB, free: 29.38 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003431/0.5276, allocations: 1.014 MB / 0.583 GB, free: 28.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.5291, allocations: 0.6584 MB / 0.5836 GB, free: 28.39 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002835/0.532, allocations: 2.242 MB / 0.5858 GB, free: 27.37 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004869/0.5325, allocations: 297 kB / 0.5861 GB, free: 27.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001345/0.5338, allocations: 0.8471 MB / 0.5869 GB, free: 26.87 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.5353, allocations: 1.234 MB / 0.5882 GB, free: 26.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003377/0.5357, allocations: 118.3 kB / 0.5883 GB, free: 26.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009676/0.5366, allocations: 290.6 kB / 0.5885 GB, free: 26.29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003749/0.537, allocations: 425.6 kB / 0.5889 GB, free: 26.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009468/0.538, allocations: 0.8846 MB / 0.5898 GB, free: 25.49 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002311/0.5403, allocations: 2.231 MB / 0.592 GB, free: 24.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.5403, allocations: 0 / 0.592 GB, free: 24.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.5403, allocations: 0 / 0.592 GB, free: 24.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.547e-05/0.5404, allocations: 0 / 0.592 GB, free: 24.55 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.01743/0.5578, allocations: 4.099 MB / 0.596 GB, free: 22.99 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/0.5579, allocations: 9.719 kB / 0.596 GB, free: 22.99 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002156/0.5581, allocations: 144.2 kB / 0.5961 GB, free: 22.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003774/0.5619, allocations: 0.5716 MB / 0.5967 GB, free: 22.74 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002647/0.5646, allocations: 1.218 MB / 0.5979 GB, free: 21.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000317/0.5649, allocations: 271.9 kB / 0.5981 GB, free: 21.72 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002473/0.5652, allocations: 110.9 kB / 0.5983 GB, free: 21.69 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002411/0.5676, allocations: 1.091 MB / 0.5993 GB, free: 21.28 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.5676, allocations: 0.75 kB / 0.5993 GB, free: 21.28 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.5677, allocations: 30.94 kB / 0.5993 GB, free: 21.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.433e-05/0.5678, allocations: 28.44 kB / 0.5994 GB, free: 21.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002775/0.5705, allocations: 1.179 MB / 0.6005 GB, free: 20.86 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.009542/0.5801, allocations: 4.617 MB / 0.605 GB, free: 18.19 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003406/0.5835, allocations: 2.144 MB / 0.6071 GB, free: 16.71 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/0.5851, allocations: 0.8019 MB / 0.6079 GB, free: 16.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001374/0.5853, allocations: 21.48 kB / 0.6079 GB, free: 16.37 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.5853, allocations: 49.23 kB / 0.608 GB, free: 16.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 3.797e-06/0.5853, allocations: 0 / 0.608 GB, free: 16.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=130): time 0.02879/0.6141, allocations: 6.697 MB / 0.6145 GB, free: 14.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.6142, allocations: 64.75 kB / 0.6146 GB, free: 14.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003371/0.6176, allocations: 1.657 MB / 0.6162 GB, free: 13.69 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000604/0.6182, allocations: 56.27 kB / 0.6163 GB, free: 13.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004585/0.6187, allocations: 0.5545 MB / 0.6168 GB, free: 13.14 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006736/0.6194, allocations: 0.4922 MB / 0.6173 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001021/0.6204, allocations: 0.5074 MB / 0.6178 GB, free: 12.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.29e-05/0.6205, allocations: 306.2 kB / 0.6181 GB, free: 12.11 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002379/0.6228, allocations: 1.141 MB / 0.6192 GB, free: 11.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002573/0.6254, allocations: 1.364 MB / 0.6205 GB, free: 10.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004371/0.6298, allocations: 2.345 MB / 0.6228 GB, free: 8.957 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/0.6298, allocations: 4 kB / 0.6228 GB, free: 8.953 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.008657/0.6385, allocations: 4.082 MB / 0.6268 GB, free: 4.832 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.635e-05/0.6386, allocations: 4 kB / 0.6268 GB, free: 4.828 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.6386, allocations: 4 kB / 0.6268 GB, free: 4.824 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01038/0.649, allocations: 2.823 MB / 0.6296 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002644/0.6517, allocations: 483.3 kB / 0.63 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005874/0.6576, allocations: 2.527 MB / 0.6325 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00385/0.6615, allocations: 245.9 kB / 0.6327 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004266/0.662, allocations: 87.97 kB / 0.6328 GB, free: 14.64 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.001191/0.6632, allocations: 317.8 kB / 0.6331 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007032/0.6639, allocations: 173.8 kB / 0.6333 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01169/0.6756, allocations: 3.542 MB / 0.6367 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.499e-05/0.6756, allocations: 12 kB / 0.6367 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.6757, allocations: 4 kB / 0.6367 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.256e-05/0.6757, allocations: 7.984 kB / 0.6368 GB, free: 10.56 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.01645/0.6922, allocations: 5.67 MB / 0.6423 GB, free: 4.723 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.97e-05/0.6922, allocations: 3.984 kB / 0.6423 GB, free: 4.719 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/0.6935, allocations: 159.8 kB / 0.6424 GB, free: 4.562 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005584/0.6991, allocations: 1.488 MB / 0.6439 GB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002935/0.6994, allocations: 31.98 kB / 0.6439 GB, free: 3.039 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01882/0.7182, allocations: 7.172 MB / 0.6509 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.7183, allocations: 4 kB / 0.6509 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01427/0.7326, allocations: 4.56 MB / 0.6554 GB, free: 7.141 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/0.7338, allocations: 306.8 kB / 0.6557 GB, free: 6.82 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008256/0.7346, allocations: 24 kB / 0.6557 GB, free: 6.797 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002477/0.7371, allocations: 75.92 kB / 0.6558 GB, free: 6.723 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001005/0.7381, allocations: 193.4 kB / 0.656 GB, free: 6.535 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002529/0.7384, allocations: 32 kB / 0.656 GB, free: 6.504 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002649/0.7411, allocations: 1.094 MB / 0.6571 GB, free: 5.414 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7411, allocations: 0 / 0.6571 GB, free: 5.414 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002936/0.744, allocations: 0.5856 MB / 0.6576 GB, free: 4.828 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.01415/0.7582, allocations: 5.172 MB / 0.6627 GB, free: 15.62 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009455/0.7677, allocations: 2.972 MB / 0.6656 GB, free: 12.64 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/0.7678, allocations: 0 / 0.6656 GB, free: 12.64 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004865/0.7726, allocations: 1.508 MB / 0.6671 GB, free: 11.12 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002558/0.7752, allocations: 130.7 kB / 0.6672 GB, free: 10.99 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05381/0.8291, allocations: 20.8 MB / 0.6875 GB, free: 5.242 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001281/0.8304, allocations: 1.234 MB / 0.6887 GB, free: 3.973 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001349/0.8318, allocations: 159.2 kB / 0.6889 GB, free: 3.812 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001535/0.8333, allocations: 0.6243 MB / 0.6895 GB, free: 3.188 MB / 494.1 MB Notification: Performance of SimCode: time 2.405e-06/0.8334, allocations: 0 / 0.6895 GB, free: 3.188 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08836/0.9217, allocations: 41.77 MB / 0.7302 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002553/0.922, allocations: 260.5 kB / 0.7305 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.607/4.529, allocations: 0 / 0.7305 GB, free: 9.406 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)