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/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/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/package.mo): time 0.07875/0.07875, allocations: 12.21 MB / 27.47 MB, free: 0.9297 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.0007784/0.0007786, allocations: 95.52 kB / 31 MB, free: 4.535 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.3/1.3, allocations: 205.4 MB / 239.8 MB, free: 11.47 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.0009728/0.0009728, allocations: 191 kB / 291 MB, free: 13.29 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4486/0.4486, allocations: 78.54 MB / 420.5 MB, free: 48.54 MB / 334.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.0008471/0.0008471, allocations: 28 kB / 0.4902 GB, free: 2.117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3546, allocations: 69.22 MB / 0.5578 GB, free: 43.45 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.007079/0.3618, allocations: 8.013 MB / 0.5656 GB, free: 39.82 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004748/0.3666, allocations: 2.602 MB / 0.5682 GB, free: 38.03 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006149/0.3672, allocations: 10.94 kB / 0.5682 GB, free: 38.03 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006085/0.3678, allocations: 237.5 kB / 0.5684 GB, free: 37.94 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002899/0.3707, allocations: 1.367 MB / 0.5697 GB, free: 37.1 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.3718, allocations: 0.5498 MB / 0.5703 GB, free: 36.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002262/0.3741, allocations: 2.429 MB / 0.5726 GB, free: 35.74 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003699/0.3744, allocations: 290 kB / 0.5729 GB, free: 35.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006831/0.3751, allocations: 0.8753 MB / 0.5738 GB, free: 35.24 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.3761, allocations: 1.252 MB / 0.575 GB, free: 34.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001918/0.3763, allocations: 113 kB / 0.5751 GB, free: 34.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005087/0.3769, allocations: 274.3 kB / 0.5754 GB, free: 34.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002685/0.3771, allocations: 435.3 kB / 0.5758 GB, free: 34.42 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005459/0.3777, allocations: 0.9096 MB / 0.5767 GB, free: 33.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.3792, allocations: 2.227 MB / 0.5788 GB, free: 33.06 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3792, allocations: 2.625 kB / 0.5788 GB, free: 33.06 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3792, allocations: 0 / 0.5788 GB, free: 33.06 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.58e-05/0.3792, allocations: 0 / 0.5788 GB, free: 33.06 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.01734/0.3965, allocations: 4.769 MB / 0.5835 GB, free: 31.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.3966, allocations: 14.89 kB / 0.5835 GB, free: 31.58 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002557/0.3969, allocations: 137.1 kB / 0.5837 GB, free: 31.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003071/0.3999, allocations: 0.5803 MB / 0.5842 GB, free: 31.33 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/0.4015, allocations: 1.218 MB / 0.5854 GB, free: 30.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002284/0.4018, allocations: 274.3 kB / 0.5857 GB, free: 30.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001945/0.402, allocations: 113.4 kB / 0.5858 GB, free: 30.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001898/0.4039, allocations: 1.138 MB / 0.5869 GB, free: 29.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.4039, allocations: 0 / 0.5869 GB, free: 29.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-05/0.404, allocations: 32.66 kB / 0.5869 GB, free: 29.85 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.404, allocations: 27.38 kB / 0.5869 GB, free: 29.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.4061, allocations: 1.236 MB / 0.5882 GB, free: 29.45 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.005868/0.412, allocations: 4.644 MB / 0.5927 GB, free: 26.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002807/0.4148, allocations: 2.198 MB / 0.5948 GB, free: 25.29 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/0.4162, allocations: 0.8411 MB / 0.5957 GB, free: 24.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.939e-05/0.4163, allocations: 29.92 kB / 0.5957 GB, free: 24.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.4163, allocations: 54.39 kB / 0.5957 GB, free: 24.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 3.146e-06/0.4163, allocations: 0 / 0.5957 GB, free: 24.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=130): time 0.02817/0.4445, allocations: 7.743 MB / 0.6033 GB, free: 23.35 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.4446, allocations: 65.94 kB / 0.6034 GB, free: 23.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002532/0.4471, allocations: 1.656 MB / 0.605 GB, free: 22.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002188/0.4473, allocations: 64.14 kB / 0.605 GB, free: 22.37 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000347/0.4477, allocations: 0.5424 MB / 0.6056 GB, free: 21.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004408/0.4481, allocations: 0.4966 MB / 0.6061 GB, free: 21.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003393/0.4485, allocations: 273.6 kB / 0.6063 GB, free: 21.28 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.955e-05/0.4485, allocations: 301.1 kB / 0.6066 GB, free: 20.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00215/0.4507, allocations: 1.195 MB / 0.6078 GB, free: 20.39 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002317/0.453, allocations: 1.407 MB / 0.6091 GB, free: 19.63 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004153/0.4572, allocations: 2.441 MB / 0.6115 GB, free: 18.35 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.4572, allocations: 0 / 0.6115 GB, free: 18.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.008957/0.4662, allocations: 4.386 MB / 0.6158 GB, free: 16.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.4662, allocations: 8.031 kB / 0.6158 GB, free: 16.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.4662, allocations: 7.938 kB / 0.6158 GB, free: 16.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00979/0.476, allocations: 3.073 MB / 0.6188 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001868/0.4779, allocations: 483.3 kB / 0.6193 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004813/0.4827, allocations: 2.694 MB / 0.6219 GB, free: 9.859 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002428/0.4852, allocations: 265.9 kB / 0.6222 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/0.4853, allocations: 91.97 kB / 0.6223 GB, free: 9.508 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.0005333/0.4859, allocations: 315.7 kB / 0.6226 GB, free: 9.191 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/0.4861, allocations: 165.8 kB / 0.6227 GB, free: 9.027 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/0.4963, allocations: 4.136 MB / 0.6268 GB, free: 4.871 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.4963, allocations: 15.94 kB / 0.6268 GB, free: 4.855 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.4963, allocations: 3.938 kB / 0.6268 GB, free: 4.852 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.4964, allocations: 7.969 kB / 0.6268 GB, free: 4.844 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.01235/0.5087, allocations: 6.249 MB / 0.6329 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.996e-06/0.5088, allocations: 0 / 0.6329 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000957/0.5097, allocations: 159.8 kB / 0.633 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005814/0.5156, allocations: 1.711 MB / 0.6347 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001277/0.5157, allocations: 24 kB / 0.6347 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0178/0.5335, allocations: 7.801 MB / 0.6424 GB, free: 4.594 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.5335, allocations: 4 kB / 0.6424 GB, free: 4.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0136/0.5471, allocations: 5.201 MB / 0.6474 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009086/0.5481, allocations: 302.8 kB / 0.6477 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005348/0.5486, allocations: 28 kB / 0.6477 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001794/0.5504, allocations: 99.92 kB / 0.6478 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005815/0.5511, allocations: 193.4 kB / 0.648 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-05/0.5512, allocations: 35.98 kB / 0.6481 GB, free: 14.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001929/0.5531, allocations: 1.09 MB / 0.6491 GB, free: 13.61 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.5531, allocations: 0 / 0.6491 GB, free: 13.61 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002126/0.5552, allocations: 0.5894 MB / 0.6497 GB, free: 13.02 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.01412/0.5694, allocations: 5.806 MB / 0.6554 GB, free: 7.184 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008892/0.5783, allocations: 3.168 MB / 0.6585 GB, free: 4.016 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.5783, allocations: 0 / 0.6585 GB, free: 4.016 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004561/0.5829, allocations: 1.67 MB / 0.6601 GB, free: 2.336 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/0.5847, allocations: 132 kB / 0.6602 GB, free: 2.207 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04376/0.6285, allocations: 21.78 MB / 0.6815 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009473/0.6295, allocations: 1.234 MB / 0.6827 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007667/0.6302, allocations: 159.2 kB / 0.6829 GB, free: 10.05 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/0.6313, allocations: 0.6336 MB / 0.6835 GB, free: 9.418 MB / 494.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6314, allocations: 0 / 0.6835 GB, free: 9.418 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07076/0.7021, allocations: 41.12 MB / 0.7236 GB, free: 0.5117 MB / 0.5138 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000268/0.7024, allocations: 269.2 kB / 0.7239 GB, free: 204 kB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.219/3.921, allocations: 4 kB / 0.7239 GB, free: 200 kB / 0.5138 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 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)