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.0009422/0.0009421, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.387/1.387, allocations: 223.2 MB / 238.9 MB, free: 5.652 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.0011/0.0011, allocations: 196.2 kB / 290.2 MB, free: 2.348 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.469/0.469, allocations: 78.53 MB / 419.8 MB, free: 4.363 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003815/0.0003815, allocations: 12 kB / 499.7 MB, free: 6.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1439, allocations: 69.35 MB / 0.5558 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.2522/0.3961, allocations: 5.294 MB / 0.5609 GB, free: 37.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003863/0.4, allocations: 2.05 MB / 0.5629 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005819/0.4006, allocations: 6.75 kB / 0.5629 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004461/0.4011, allocations: 156.4 kB / 0.5631 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002336/0.4034, allocations: 1.014 MB / 0.5641 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000941/0.4044, allocations: 407.2 kB / 0.5645 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001655/0.4061, allocations: 1.128 MB / 0.5656 GB, free: 36.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002931/0.4064, allocations: 174.7 kB / 0.5657 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007374/0.4071, allocations: 0.5959 MB / 0.5663 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009643/0.4081, allocations: 0.8502 MB / 0.5671 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001584/0.4082, allocations: 79.66 kB / 0.5672 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005353/0.4088, allocations: 219.4 kB / 0.5674 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002419/0.409, allocations: 293.1 kB / 0.5677 GB, free: 36.67 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001807/0.4092, allocations: 211.4 kB / 0.5679 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.4103, allocations: 1.232 MB / 0.5691 GB, free: 36.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.4103, allocations: 0.8125 kB / 0.5691 GB, free: 36.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.4103, allocations: 3.094 kB / 0.5691 GB, free: 36.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.4104, allocations: 0.5312 kB / 0.5691 GB, free: 36.48 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.01392/0.4243, allocations: 3.621 MB / 0.5727 GB, free: 35.61 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.4244, allocations: 10.5 kB / 0.5727 GB, free: 35.61 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000449/0.4248, allocations: 110.3 kB / 0.5728 GB, free: 35.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003102/0.4279, allocations: 0.4991 MB / 0.5733 GB, free: 35.48 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001677/0.4296, allocations: 0.8514 MB / 0.5741 GB, free: 35.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002726/0.4299, allocations: 235.8 kB / 0.5743 GB, free: 34.85 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.4301, allocations: 91.56 kB / 0.5744 GB, free: 34.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.4319, allocations: 0.9344 MB / 0.5753 GB, free: 34.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.4319, allocations: 0 / 0.5753 GB, free: 34.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.539e-05/0.432, allocations: 25.88 kB / 0.5753 GB, free: 34.46 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.432, allocations: 17.33 kB / 0.5754 GB, free: 34.46 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002065/0.4341, allocations: 1.058 MB / 0.5764 GB, free: 34.14 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.004417/0.4385, allocations: 2.958 MB / 0.5793 GB, free: 32.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002537/0.4411, allocations: 1.165 MB / 0.5804 GB, free: 32.12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.005e-05/0.4412, allocations: 18.81 kB / 0.5804 GB, free: 32.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.4412, allocations: 42.06 kB / 0.5805 GB, free: 32.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.086e-06/0.4412, allocations: 0 / 0.5805 GB, free: 32.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.02799/0.4692, allocations: 7.662 MB / 0.588 GB, free: 30.72 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.4693, allocations: 60.97 kB / 0.588 GB, free: 30.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002413/0.4717, allocations: 1.131 MB / 0.5891 GB, free: 30.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003675/0.4721, allocations: 51.92 kB / 0.5892 GB, free: 30.11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004388/0.4725, allocations: 394.5 kB / 0.5895 GB, free: 29.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005994/0.4732, allocations: 359.7 kB / 0.5899 GB, free: 29.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003195/0.4735, allocations: 44.16 kB / 0.5899 GB, free: 29.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.4737, allocations: 372.5 kB / 0.5903 GB, free: 29.15 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002384/0.476, allocations: 0.9563 MB / 0.5912 GB, free: 28.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002375/0.4784, allocations: 0.974 MB / 0.5922 GB, free: 28.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002332/0.4808, allocations: 1.023 MB / 0.5932 GB, free: 27.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/0.4808, allocations: 1.188 kB / 0.5932 GB, free: 27.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007876/0.4887, allocations: 3.273 MB / 0.5964 GB, free: 26.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.4887, allocations: 6.438 kB / 0.5964 GB, free: 26.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.4888, allocations: 1.438 kB / 0.5964 GB, free: 26.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009941/0.4987, allocations: 2.532 MB / 0.5988 GB, free: 26.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001854/0.5006, allocations: 323.7 kB / 0.5992 GB, free: 26.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00586/0.5065, allocations: 2.452 MB / 0.6015 GB, free: 25.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002421/0.5089, allocations: 233.2 kB / 0.6018 GB, free: 25.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003212/0.5093, allocations: 62.17 kB / 0.6018 GB, free: 25.11 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.0008539/0.5101, allocations: 250.1 kB / 0.6021 GB, free: 24.9 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004457/0.5106, allocations: 111 kB / 0.6022 GB, free: 24.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01251/0.5231, allocations: 3.913 MB / 0.606 GB, free: 23.92 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.457e-05/0.5232, allocations: 16.7 kB / 0.606 GB, free: 23.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/0.5232, allocations: 0.9844 kB / 0.606 GB, free: 23.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.071e-05/0.5232, allocations: 4.875 kB / 0.606 GB, free: 23.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002405/0.5256, allocations: 1.212 MB / 0.6072 GB, free: 23.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/0.5257, allocations: 0 / 0.6072 GB, free: 23.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007976/0.5265, allocations: 118.7 kB / 0.6073 GB, free: 23.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006025/0.5325, allocations: 1.678 MB / 0.609 GB, free: 23.03 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001969/0.5327, allocations: 24.86 kB / 0.609 GB, free: 23.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01817/0.5509, allocations: 8.197 MB / 0.617 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.551, allocations: 1.188 kB / 0.617 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01197/0.563, allocations: 4.79 MB / 0.6217 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005485/0.5635, allocations: 240.1 kB / 0.6219 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004096/0.564, allocations: 24 kB / 0.6219 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/0.5654, allocations: 107.9 kB / 0.622 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005196/0.5659, allocations: 176.7 kB / 0.6222 GB, free: 9.926 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.539e-05/0.566, allocations: 24 kB / 0.6222 GB, free: 9.902 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001039/0.567, allocations: 0.7563 MB / 0.6229 GB, free: 9.137 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5671, allocations: 4 kB / 0.6229 GB, free: 9.133 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001502/0.5686, allocations: 438.3 kB / 0.6234 GB, free: 8.707 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.01173/0.5803, allocations: 5.243 MB / 0.6285 GB, free: 3.426 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00704/0.5874, allocations: 2.548 MB / 0.631 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.5874, allocations: 0 / 0.631 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004247/0.5917, allocations: 1.44 MB / 0.6324 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.5929, allocations: 74.16 kB / 0.6325 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007412/0.6003, allocations: 3.431 MB / 0.6358 GB, free: 11.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007921/0.6012, allocations: 1.085 MB / 0.6369 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000626/0.6018, allocations: 107.6 kB / 0.637 GB, free: 10.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00076/0.6026, allocations: 419.3 kB / 0.6374 GB, free: 10.36 MB / 446.1 MB Notification: Performance of SimCode: time 8.91e-07/0.6026, allocations: 0 / 0.6374 GB, free: 10.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05297/0.6556, allocations: 29.46 MB / 0.6661 GB, free: 13.28 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/0.6558, allocations: 242 kB / 0.6664 GB, free: 13.04 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.74/3.396, allocations: 0 / 0.6664 GB, free: 13.04 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: