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.001082/0.001082, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.284/1.284, allocations: 222.9 MB / 239 MB, free: 4.695 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.001346/0.001346, allocations: 180.5 kB / 289.2 MB, free: 2.441 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4417/0.4417, allocations: 78.53 MB / 417.9 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 75.88 kB / 497 MB, free: 6.582 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1513, allocations: 68.18 MB / 0.552 GB, free: 2.363 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.2702/0.4215, allocations: 8.452 MB / 0.5602 GB, free: 34.96 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005531/0.4271, allocations: 2.644 MB / 0.5628 GB, free: 34.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001813/0.429, allocations: 11.59 kB / 0.5628 GB, free: 34.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009168/0.4299, allocations: 240.2 kB / 0.563 GB, free: 34.28 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004061/0.434, allocations: 1.359 MB / 0.5644 GB, free: 34.01 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.4353, allocations: 0.5535 MB / 0.5649 GB, free: 33.96 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003248/0.4386, allocations: 2.546 MB / 0.5674 GB, free: 33.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005073/0.4391, allocations: 318.4 kB / 0.5677 GB, free: 33.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/0.4405, allocations: 0.9994 MB / 0.5687 GB, free: 33.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001256/0.4418, allocations: 1.353 MB / 0.57 GB, free: 33.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002669/0.4421, allocations: 207.9 kB / 0.5702 GB, free: 33.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006861/0.4428, allocations: 385.4 kB / 0.5706 GB, free: 33 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003082/0.4431, allocations: 0.516 MB / 0.5711 GB, free: 32.89 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006766/0.4438, allocations: 0.9926 MB / 0.572 GB, free: 32.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002101/0.4459, allocations: 2.343 MB / 0.5743 GB, free: 32.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.4459, allocations: 8.312 kB / 0.5743 GB, free: 32.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4459, allocations: 0 / 0.5743 GB, free: 32.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.86e-05/0.446, allocations: 0 / 0.5743 GB, free: 32.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.01915/0.4651, allocations: 4.94 MB / 0.5792 GB, free: 30.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.4652, allocations: 10.28 kB / 0.5792 GB, free: 30.73 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001691/0.4654, allocations: 137.2 kB / 0.5793 GB, free: 30.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003297/0.4687, allocations: 0.5731 MB / 0.5799 GB, free: 30.48 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001737/0.4704, allocations: 1.221 MB / 0.5811 GB, free: 29.7 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002267/0.4706, allocations: 272 kB / 0.5813 GB, free: 29.47 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002026/0.4709, allocations: 123 kB / 0.5814 GB, free: 29.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002144/0.473, allocations: 1.083 MB / 0.5825 GB, free: 29.03 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.473, allocations: 0 / 0.5825 GB, free: 29.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.876e-05/0.4732, allocations: 39.25 kB / 0.5825 GB, free: 29 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.4732, allocations: 24.62 kB / 0.5825 GB, free: 28.99 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002127/0.4753, allocations: 1.176 MB / 0.5837 GB, free: 28.6 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.006931/0.4823, allocations: 4.625 MB / 0.5882 GB, free: 25.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003006/0.4853, allocations: 2.141 MB / 0.5903 GB, free: 24.47 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001382/0.4867, allocations: 0.7948 MB / 0.5911 GB, free: 24.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001344/0.4868, allocations: 27.83 kB / 0.5911 GB, free: 24.13 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.4869, allocations: 44.7 kB / 0.5911 GB, free: 24.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 3.337e-06/0.4869, allocations: 1.281 kB / 0.5912 GB, free: 24.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=130): time 0.02796/0.5148, allocations: 6.682 MB / 0.5977 GB, free: 22.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.5149, allocations: 70.14 kB / 0.5977 GB, free: 22.6 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003354/0.5183, allocations: 1.654 MB / 0.5994 GB, free: 21.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005674/0.5189, allocations: 60.17 kB / 0.5994 GB, free: 21.85 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004977/0.5194, allocations: 0.5499 MB / 0.6 GB, free: 21.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006413/0.52, allocations: 0.4948 MB / 0.6004 GB, free: 21.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001002/0.521, allocations: 0.5099 MB / 0.6009 GB, free: 20.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.476e-05/0.5211, allocations: 303 kB / 0.6012 GB, free: 20.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002282/0.5234, allocations: 1.152 MB / 0.6023 GB, free: 20.03 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002542/0.526, allocations: 1.355 MB / 0.6037 GB, free: 19.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004415/0.5304, allocations: 2.344 MB / 0.606 GB, free: 18.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.289e-05/0.5304, allocations: 0 / 0.606 GB, free: 18.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.009333/0.5398, allocations: 4.081 MB / 0.6099 GB, free: 16.72 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.5398, allocations: 5.781 kB / 0.61 GB, free: 16.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.5399, allocations: 4.156 kB / 0.61 GB, free: 16.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01071/0.5506, allocations: 2.835 MB / 0.6127 GB, free: 16.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002515/0.5531, allocations: 481.2 kB / 0.6132 GB, free: 16.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005702/0.5589, allocations: 2.529 MB / 0.6157 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003396/0.5623, allocations: 243.2 kB / 0.6159 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005112/0.5628, allocations: 95.97 kB / 0.616 GB, free: 13.43 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.001095/0.5639, allocations: 313.3 kB / 0.6163 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007065/0.5646, allocations: 169.8 kB / 0.6164 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009761/0.5744, allocations: 3.544 MB / 0.6199 GB, free: 9.383 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/0.5745, allocations: 16 kB / 0.6199 GB, free: 9.367 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.5745, allocations: 0 / 0.6199 GB, free: 9.367 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.992e-05/0.5745, allocations: 7.969 kB / 0.6199 GB, free: 9.359 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.01318/0.5877, allocations: 5.658 MB / 0.6254 GB, free: 3.535 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/0.5878, allocations: 0 / 0.6254 GB, free: 3.535 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/0.5889, allocations: 169.6 kB / 0.6256 GB, free: 3.371 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004801/0.5938, allocations: 1.493 MB / 0.6271 GB, free: 1.875 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002778/0.5941, allocations: 24 kB / 0.6271 GB, free: 1.852 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01859/0.6127, allocations: 7.86 MB / 0.6348 GB, free: 9.844 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.6127, allocations: 1.594 kB / 0.6348 GB, free: 9.844 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01331/0.626, allocations: 4.56 MB / 0.6392 GB, free: 5.254 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009138/0.627, allocations: 302.8 kB / 0.6395 GB, free: 4.938 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006485/0.6277, allocations: 24 kB / 0.6395 GB, free: 4.914 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001918/0.6296, allocations: 80.92 kB / 0.6396 GB, free: 4.836 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007093/0.6303, allocations: 189.5 kB / 0.6398 GB, free: 4.652 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001655/0.6305, allocations: 35.98 kB / 0.6398 GB, free: 4.617 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001893/0.6324, allocations: 1.094 MB / 0.6409 GB, free: 3.527 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6324, allocations: 0 / 0.6409 GB, free: 3.527 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002303/0.6347, allocations: 0.6049 MB / 0.6415 GB, free: 2.922 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.01288/0.6476, allocations: 5.158 MB / 0.6465 GB, free: 13.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009406/0.6571, allocations: 3.051 MB / 0.6495 GB, free: 10.68 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.6571, allocations: 0 / 0.6495 GB, free: 10.68 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004578/0.6617, allocations: 1.528 MB / 0.651 GB, free: 9.145 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/0.6637, allocations: 131.9 kB / 0.6511 GB, free: 9.016 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04601/0.7097, allocations: 20.78 MB / 0.6714 GB, free: 3.387 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009723/0.7107, allocations: 1.238 MB / 0.6726 GB, free: 2.117 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009489/0.7117, allocations: 161.4 kB / 0.6728 GB, free: 1.961 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001142/0.7129, allocations: 0.632 MB / 0.6734 GB, free: 1.332 MB / 478.1 MB Notification: Performance of SimCode: time 6.01e-07/0.7129, allocations: 4 kB / 0.6734 GB, free: 1.328 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09874/0.8116, allocations: 43.69 MB / 0.7161 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/0.8118, allocations: 260.2 kB / 0.7163 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.101/3.913, allocations: 5.625 kB / 0.7163 GB, free: 5.77 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)