Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_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.Aggregated_system,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_2_0_0_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/Modelica_Synchronous 0.93.0/package.mo): time 0.08326/0.08326, allocations: 12.2 MB / 27.32 MB, free: 1.445 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.001065/0.001064, allocations: 116.8 kB / 30.83 MB, free: 4.715 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.421/1.421, allocations: 205.1 MB / 239.3 MB, free: 13.66 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.001626/0.001626, allocations: 196.4 kB / 289.5 MB, free: 14.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4258/0.4258, allocations: 78.51 MB / 418 MB, free: 12.04 MB / 302.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.002506/0.002506, allocations: 129 kB / 498.3 MB, free: 11.88 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3161, allocations: 68.02 MB / 0.5531 GB, free: 32.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.006834/0.323, allocations: 6.363 MB / 0.5593 GB, free: 27.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004608/0.3276, allocations: 2.185 MB / 0.5614 GB, free: 26.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001465/0.3292, allocations: 9.625 kB / 0.5614 GB, free: 26.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009218/0.3301, allocations: 189.3 kB / 0.5616 GB, free: 26.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003864/0.334, allocations: 1.065 MB / 0.5627 GB, free: 25.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.3353, allocations: 449.8 kB / 0.5631 GB, free: 25.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002689/0.3381, allocations: 1.747 MB / 0.5648 GB, free: 24.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000503/0.3386, allocations: 192.3 kB / 0.565 GB, free: 24.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.3397, allocations: 0.637 MB / 0.5656 GB, free: 23.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001429/0.3412, allocations: 0.8919 MB / 0.5665 GB, free: 23.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005296/0.3417, allocations: 88.5 kB / 0.5665 GB, free: 23.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.3428, allocations: 250.1 kB / 0.5668 GB, free: 23.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005431/0.3434, allocations: 316.6 kB / 0.5671 GB, free: 22.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001179/0.3446, allocations: 0.6306 MB / 0.5677 GB, free: 22.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001828/0.3464, allocations: 1.652 MB / 0.5693 GB, free: 21.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3464, allocations: 0 / 0.5693 GB, free: 21.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3464, allocations: 1.25 kB / 0.5693 GB, free: 21.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.586e-05/0.3465, allocations: 0 / 0.5693 GB, free: 21.18 MB / 398.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.01506/0.3615, allocations: 3.713 MB / 0.5729 GB, free: 19.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.3616, allocations: 16.36 kB / 0.573 GB, free: 19.17 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001307/0.3617, allocations: 107.5 kB / 0.5731 GB, free: 19.08 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002955/0.3647, allocations: 0.4909 MB / 0.5735 GB, free: 18.87 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.3661, allocations: 0.8884 MB / 0.5744 GB, free: 18.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002393/0.3663, allocations: 234.5 kB / 0.5746 GB, free: 17.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.3665, allocations: 81.66 kB / 0.5747 GB, free: 17.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/0.3682, allocations: 0.8867 MB / 0.5756 GB, free: 17.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.3682, allocations: 4 kB / 0.5756 GB, free: 17.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.713e-05/0.3683, allocations: 20 kB / 0.5756 GB, free: 17.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.3683, allocations: 16 kB / 0.5756 GB, free: 17.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/0.3703, allocations: 0.9966 MB / 0.5766 GB, free: 16.08 MB / 398.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.004409/0.3747, allocations: 2.934 MB / 0.5795 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002442/0.3771, allocations: 1.09 MB / 0.5805 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001127/0.3783, allocations: 0.6675 MB / 0.5812 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.3784, allocations: 12.98 kB / 0.5812 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.3784, allocations: 47.56 kB / 0.5812 GB, free: 11.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=94): time 2.735e-06/0.3784, allocations: 0 / 0.5812 GB, free: 11.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=94): time 0.02382/0.4023, allocations: 6.493 MB / 0.5876 GB, free: 4.648 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.4023, allocations: 60.41 kB / 0.5876 GB, free: 4.578 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/0.4042, allocations: 1.14 MB / 0.5887 GB, free: 3.418 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002677/0.4045, allocations: 49.7 kB / 0.5888 GB, free: 3.363 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/0.4047, allocations: 389.9 kB / 0.5892 GB, free: 2.977 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003118/0.405, allocations: 367 kB / 0.5895 GB, free: 2.613 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005467/0.4056, allocations: 363.2 kB / 0.5899 GB, free: 2.254 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 4.261e-05/0.4056, allocations: 309.1 kB / 0.5902 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00158/0.4072, allocations: 0.9019 MB / 0.591 GB, free: 1.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001574/0.4088, allocations: 0.9351 MB / 0.5919 GB, free: 116 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003604/0.4124, allocations: 1.813 MB / 0.5937 GB, free: 14.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.4124, allocations: 0 / 0.5937 GB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.006945/0.4194, allocations: 3.048 MB / 0.5967 GB, free: 11.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.4194, allocations: 4 kB / 0.5967 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.4194, allocations: 0 / 0.5967 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008825/0.4283, allocations: 2.268 MB / 0.5989 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/0.4299, allocations: 323.5 kB / 0.5992 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005127/0.4351, allocations: 2.267 MB / 0.6014 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/0.4373, allocations: 198.5 kB / 0.6016 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002836/0.4376, allocations: 59.98 kB / 0.6017 GB, free: 6.102 MB / 414.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 (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 {(24,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0006364/0.4383, allocations: 257.5 kB / 0.6019 GB, free: 5.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004104/0.4387, allocations: 118.4 kB / 0.602 GB, free: 5.723 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01056/0.4493, allocations: 3.297 MB / 0.6053 GB, free: 2.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/0.4493, allocations: 15.94 kB / 0.6053 GB, free: 2.395 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/0.4493, allocations: 0 / 0.6053 GB, free: 2.395 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.559e-05/0.4494, allocations: 3.984 kB / 0.6053 GB, free: 2.391 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002024/0.4514, allocations: 1.21 MB / 0.6065 GB, free: 1.133 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/0.4514, allocations: 0 / 0.6065 GB, free: 1.133 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007378/0.4522, allocations: 111.8 kB / 0.6066 GB, free: 1.023 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005283/0.4575, allocations: 1.446 MB / 0.608 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002063/0.4577, allocations: 23.94 kB / 0.608 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01888/0.4766, allocations: 7.149 MB / 0.615 GB, free: 8.262 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.4767, allocations: 0 / 0.615 GB, free: 8.262 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01284/0.4895, allocations: 4.128 MB / 0.619 GB, free: 4.109 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008321/0.4904, allocations: 227.4 kB / 0.6192 GB, free: 3.867 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005564/0.491, allocations: 23.98 kB / 0.6193 GB, free: 3.844 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001608/0.4926, allocations: 87.91 kB / 0.6193 GB, free: 3.758 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007078/0.4933, allocations: 168.7 kB / 0.6195 GB, free: 3.594 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000134/0.4935, allocations: 28 kB / 0.6195 GB, free: 3.566 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001479/0.495, allocations: 0.7563 MB / 0.6203 GB, free: 2.801 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.495, allocations: 0 / 0.6203 GB, free: 2.801 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001912/0.4969, allocations: 435.7 kB / 0.6207 GB, free: 2.375 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 (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 {(14,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01282/0.5097, allocations: 4.609 MB / 0.6252 GB, free: 13.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007617/0.5174, allocations: 2.352 MB / 0.6275 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.5175, allocations: 0 / 0.6275 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004242/0.5217, allocations: 1.293 MB / 0.6287 GB, free: 10.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/0.5234, allocations: 92.45 kB / 0.6288 GB, free: 9.988 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03212/0.5555, allocations: 14.3 MB / 0.6428 GB, free: 11.35 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008386/0.5564, allocations: 1.069 MB / 0.6438 GB, free: 10.25 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006295/0.5571, allocations: 107.6 kB / 0.6439 GB, free: 10.14 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008155/0.5579, allocations: 427.3 kB / 0.6443 GB, free: 9.727 MB / 462.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5579, allocations: 4 kB / 0.6444 GB, free: 9.723 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07903/0.637, allocations: 30.85 MB / 0.6745 GB, free: 11.03 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002496/0.6373, allocations: 263.9 kB / 0.6747 GB, free: 10.68 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.732/3.369, allocations: 3.234 kB / 0.6747 GB, free: 10.68 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)