Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_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.Aggregated_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_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.0008667/0.0008666, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.399/1.399, allocations: 223.2 MB / 239 MB, free: 5.426 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.001856/0.001856, allocations: 168.6 kB / 290.3 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5084/0.5084, allocations: 78.55 MB / 419.9 MB, free: 4.266 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004181/0.0004183, allocations: 12 kB / 499.9 MB, free: 6.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1542, allocations: 69.36 MB / 0.5559 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.2821/0.4364, allocations: 5.511 MB / 0.5613 GB, free: 37.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003262/0.4397, allocations: 2.011 MB / 0.5632 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003429/0.4401, allocations: 8.844 kB / 0.5633 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003707/0.4404, allocations: 161.3 kB / 0.5634 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002011/0.4425, allocations: 0.9661 MB / 0.5643 GB, free: 36.97 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007524/0.4432, allocations: 404.6 kB / 0.5647 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001374/0.4446, allocations: 1.622 MB / 0.5663 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002768/0.4449, allocations: 175.3 kB / 0.5665 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004877/0.4454, allocations: 0.605 MB / 0.5671 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008259/0.4462, allocations: 0.8556 MB / 0.5679 GB, free: 36.33 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001426/0.4464, allocations: 81.84 kB / 0.568 GB, free: 36.33 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004602/0.4468, allocations: 231.3 kB / 0.5682 GB, free: 36.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002795/0.4471, allocations: 306.3 kB / 0.5685 GB, free: 36.24 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.4473, allocations: 202.3 kB / 0.5687 GB, free: 36.17 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009074/0.4482, allocations: 1.269 MB / 0.5699 GB, free: 35.97 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.4482, allocations: 0 / 0.5699 GB, free: 35.97 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4482, allocations: 1.25 kB / 0.5699 GB, free: 35.97 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.4483, allocations: 2.156 kB / 0.5699 GB, free: 35.97 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.01205/0.4603, allocations: 3.62 MB / 0.5735 GB, free: 35.1 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.4604, allocations: 8.688 kB / 0.5735 GB, free: 35.1 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001711/0.4605, allocations: 105.6 kB / 0.5736 GB, free: 35.06 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002629/0.4632, allocations: 0.5032 MB / 0.5741 GB, free: 34.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.4644, allocations: 0.8512 MB / 0.5749 GB, free: 34.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002328/0.4646, allocations: 236.4 kB / 0.5751 GB, free: 34.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.4648, allocations: 84.09 kB / 0.5752 GB, free: 34.45 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.4664, allocations: 0.9433 MB / 0.5761 GB, free: 34.12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.4664, allocations: 0 / 0.5761 GB, free: 34.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.317e-05/0.4665, allocations: 29.11 kB / 0.5762 GB, free: 34.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.4665, allocations: 17.7 kB / 0.5762 GB, free: 34.1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/0.4685, allocations: 1.066 MB / 0.5772 GB, free: 33.77 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.003768/0.4722, allocations: 2.946 MB / 0.5801 GB, free: 32.17 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002352/0.4746, allocations: 1.164 MB / 0.5812 GB, free: 31.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/0.4758, allocations: 0.7152 MB / 0.5819 GB, free: 31.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/0.4759, allocations: 17.3 kB / 0.5819 GB, free: 31.49 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.4759, allocations: 47.56 kB / 0.582 GB, free: 31.45 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.535e-06/0.4759, allocations: 0 / 0.582 GB, free: 31.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.02422/0.5001, allocations: 7.656 MB / 0.5895 GB, free: 30.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.5002, allocations: 62.3 kB / 0.5895 GB, free: 30.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001881/0.5021, allocations: 1.134 MB / 0.5906 GB, free: 29.53 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001547/0.5023, allocations: 51.3 kB / 0.5907 GB, free: 29.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/0.5026, allocations: 395.1 kB / 0.5911 GB, free: 29.17 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00034/0.5029, allocations: 360.8 kB / 0.5914 GB, free: 28.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.503, allocations: 38.91 kB / 0.5914 GB, free: 28.86 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.5031, allocations: 373.7 kB / 0.5918 GB, free: 28.53 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001889/0.505, allocations: 0.9559 MB / 0.5927 GB, free: 28.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001885/0.5069, allocations: 0.9852 MB / 0.5937 GB, free: 27.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00199/0.5089, allocations: 1.031 MB / 0.5947 GB, free: 27.35 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/0.5089, allocations: 0.7812 kB / 0.5947 GB, free: 27.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.006921/0.5159, allocations: 3.266 MB / 0.5979 GB, free: 26.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.5159, allocations: 4.156 kB / 0.5979 GB, free: 26.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.5159, allocations: 1.625 kB / 0.5979 GB, free: 26.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0086/0.5245, allocations: 2.534 MB / 0.6004 GB, free: 25.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/0.526, allocations: 321.8 kB / 0.6007 GB, free: 25.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005019/0.531, allocations: 2.456 MB / 0.6031 GB, free: 24.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/0.5329, allocations: 236.3 kB / 0.6033 GB, free: 24.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002192/0.5331, allocations: 57.91 kB / 0.6034 GB, free: 24.48 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (189): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 29} Notification: Performance of prepare postOptimizeDAE: time 0.0005721/0.5337, allocations: 245.2 kB / 0.6036 GB, free: 24.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003134/0.534, allocations: 117.7 kB / 0.6037 GB, free: 24.21 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01095/0.545, allocations: 3.909 MB / 0.6075 GB, free: 23.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.545, allocations: 12.67 kB / 0.6075 GB, free: 23.29 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.545, allocations: 3 kB / 0.6075 GB, free: 23.29 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/0.545, allocations: 12.86 kB / 0.6075 GB, free: 23.28 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/0.5467, allocations: 1.21 MB / 0.6087 GB, free: 22.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/0.5467, allocations: 1.062 kB / 0.6087 GB, free: 22.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000662/0.5474, allocations: 113.3 kB / 0.6088 GB, free: 22.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005103/0.5525, allocations: 1.678 MB / 0.6105 GB, free: 22.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.594e-05/0.5526, allocations: 23.92 kB / 0.6105 GB, free: 22.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.015/0.5676, allocations: 7.829 MB / 0.6181 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.5677, allocations: 0 / 0.6181 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/0.5779, allocations: 4.785 MB / 0.6228 GB, free: 9.277 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003699/0.5783, allocations: 239.4 kB / 0.623 GB, free: 9.023 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002413/0.5785, allocations: 16 kB / 0.6231 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.5796, allocations: 116.7 kB / 0.6232 GB, free: 8.895 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003901/0.58, allocations: 172.7 kB / 0.6233 GB, free: 8.727 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.647e-05/0.5801, allocations: 31.92 kB / 0.6234 GB, free: 8.695 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000942/0.5811, allocations: 0.7581 MB / 0.6241 GB, free: 7.93 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5811, allocations: 0 / 0.6241 GB, free: 7.93 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001234/0.5823, allocations: 443.8 kB / 0.6245 GB, free: 7.496 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.01019/0.5925, allocations: 5.221 MB / 0.6296 GB, free: 2.242 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006063/0.5986, allocations: 2.55 MB / 0.6321 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.5986, allocations: 4 kB / 0.6321 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003741/0.6023, allocations: 1.441 MB / 0.6335 GB, free: 14.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009131/0.6033, allocations: 92.25 kB / 0.6336 GB, free: 14.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02432/0.6276, allocations: 11.66 MB / 0.645 GB, free: 2.289 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007784/0.6284, allocations: 1.058 MB / 0.646 GB, free: 1.207 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005465/0.629, allocations: 111.6 kB / 0.6461 GB, free: 1.094 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000737/0.6297, allocations: 419.3 kB / 0.6465 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of SimCode: time 1.704e-06/0.6297, allocations: 0 / 0.6465 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05323/0.683, allocations: 30.91 MB / 0.6767 GB, free: 2.16 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/0.6832, allocations: 235.8 kB / 0.677 GB, free: 1.922 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.623/3.306, allocations: 0 / 0.677 GB, free: 1.922 MB / 478.1 MB (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1) Environment - environmentSimulation: