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.08465/0.08465, 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.0007473/0.0007474, 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.332/1.332, allocations: 205.4 MB / 239.8 MB, free: 13.52 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.001012/0.001012, allocations: 176.6 kB / 291 MB, free: 11.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.441/0.441, allocations: 78.53 MB / 420.5 MB, free: 11.52 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.0008615/0.0008615, allocations: 36 kB / 0.4902 GB, free: 9.965 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3277, allocations: 69.23 MB / 0.5578 GB, free: 20.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.004323/0.332, allocations: 5.897 MB / 0.5636 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002901/0.335, allocations: 2.165 MB / 0.5657 GB, free: 12.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003102/0.3353, allocations: 8 kB / 0.5657 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003855/0.3357, allocations: 182.9 kB / 0.5659 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001914/0.3376, allocations: 1.064 MB / 0.5669 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006659/0.3383, allocations: 445.7 kB / 0.5673 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001175/0.3395, allocations: 1.751 MB / 0.569 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002403/0.3397, allocations: 189.4 kB / 0.5692 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000431/0.3402, allocations: 0.6185 MB / 0.5698 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006805/0.3408, allocations: 0.8753 MB / 0.5707 GB, free: 7.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000128/0.341, allocations: 80 kB / 0.5708 GB, free: 7.574 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003641/0.3414, allocations: 239.8 kB / 0.571 GB, free: 7.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001955/0.3416, allocations: 310.6 kB / 0.5713 GB, free: 7.035 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003739/0.3419, allocations: 0.6425 MB / 0.5719 GB, free: 6.383 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009801/0.3429, allocations: 1.615 MB / 0.5735 GB, free: 4.762 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3429, allocations: 4 kB / 0.5735 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3429, allocations: 0 / 0.5735 GB, free: 4.758 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.343, allocations: 4 kB / 0.5735 GB, free: 4.754 MB / 382.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.01272/0.3557, allocations: 3.595 MB / 0.577 GB, free: 1.105 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.3558, allocations: 15.98 kB / 0.577 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001937/0.356, allocations: 110.7 kB / 0.5771 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002692/0.3587, allocations: 0.4911 MB / 0.5776 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.3599, allocations: 0.9024 MB / 0.5785 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000284/0.3602, allocations: 226.2 kB / 0.5787 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/0.3604, allocations: 91.91 kB / 0.5788 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/0.3623, allocations: 0.9511 MB / 0.5797 GB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.3623, allocations: 0 / 0.5797 GB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.328e-05/0.3624, allocations: 28 kB / 0.5797 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.3625, allocations: 16 kB / 0.5798 GB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002309/0.3648, allocations: 1.063 MB / 0.5808 GB, free: 13.12 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.004668/0.3694, allocations: 2.962 MB / 0.5837 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002859/0.3723, allocations: 1.168 MB / 0.5848 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0014/0.3737, allocations: 0.7182 MB / 0.5855 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.238e-05/0.3738, allocations: 24.91 kB / 0.5856 GB, free: 8.102 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.3739, allocations: 47.56 kB / 0.5856 GB, free: 8.047 MB / 398.1 MB Notification: Performance of pre-optimization done (n=94): time 2.325e-06/0.3739, allocations: 0 / 0.5856 GB, free: 8.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=94): time 0.02737/0.4013, allocations: 7.692 MB / 0.5931 GB, free: 324 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.4014, allocations: 60.41 kB / 0.5932 GB, free: 252 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/0.4031, allocations: 1.144 MB / 0.5943 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001965/0.4033, allocations: 45.7 kB / 0.5943 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002965/0.4036, allocations: 389.9 kB / 0.5947 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004138/0.4041, allocations: 366.9 kB / 0.5951 GB, free: 14.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002578/0.4043, allocations: 193.6 kB / 0.5952 GB, free: 14.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.4045, allocations: 309.1 kB / 0.5955 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00201/0.4065, allocations: 0.9605 MB / 0.5965 GB, free: 12.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001967/0.4084, allocations: 0.9898 MB / 0.5974 GB, free: 11.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003767/0.4122, allocations: 1.918 MB / 0.5993 GB, free: 9.914 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.4122, allocations: 0 / 0.5993 GB, free: 9.914 MB / 414.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007179/0.4194, allocations: 3.274 MB / 0.6025 GB, free: 6.629 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.4195, allocations: 4 kB / 0.6025 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.4195, allocations: 0 / 0.6025 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009063/0.4286, allocations: 2.542 MB / 0.605 GB, free: 4.078 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/0.43, allocations: 319.6 kB / 0.6053 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005371/0.4354, allocations: 2.458 MB / 0.6077 GB, free: 1.281 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002045/0.4375, allocations: 226.5 kB / 0.6079 GB, free: 1.059 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/0.4376, allocations: 63.97 kB / 0.608 GB, free: 0.9961 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.0004808/0.4381, allocations: 245.6 kB / 0.6082 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002213/0.4383, allocations: 118.4 kB / 0.6083 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01157/0.4499, allocations: 3.907 MB / 0.6121 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.968e-05/0.45, allocations: 15.94 kB / 0.6122 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.45, allocations: 7.875 kB / 0.6122 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.991e-05/0.45, allocations: 7.969 kB / 0.6122 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/0.4518, allocations: 1.21 MB / 0.6134 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4518, allocations: 0 / 0.6134 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006688/0.4525, allocations: 115.9 kB / 0.6135 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005535/0.458, allocations: 1.673 MB / 0.6151 GB, free: 9.633 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.847e-05/0.4581, allocations: 23.98 kB / 0.6151 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01875/0.4769, allocations: 7.841 MB / 0.6228 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4769, allocations: 4 kB / 0.6228 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01341/0.4904, allocations: 4.803 MB / 0.6275 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006446/0.491, allocations: 235.4 kB / 0.6277 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/0.4913, allocations: 16 kB / 0.6277 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001519/0.4928, allocations: 119.9 kB / 0.6278 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006301/0.4934, allocations: 172.6 kB / 0.628 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.011e-05/0.4935, allocations: 27.98 kB / 0.628 GB, free: 12.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001214/0.4947, allocations: 0.7641 MB / 0.6288 GB, free: 11.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4947, allocations: 0 / 0.6288 GB, free: 11.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001358/0.4961, allocations: 439.6 kB / 0.6292 GB, free: 11.01 MB / 446.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.01331/0.5094, allocations: 5.243 MB / 0.6343 GB, free: 5.734 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007396/0.5169, allocations: 2.552 MB / 0.6368 GB, free: 3.188 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.5169, allocations: 0 / 0.6368 GB, free: 3.188 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004208/0.5211, allocations: 1.457 MB / 0.6382 GB, free: 1.711 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.5222, allocations: 91.69 kB / 0.6383 GB, free: 1.625 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0272/0.5494, allocations: 14.91 MB / 0.6529 GB, free: 2.371 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006821/0.5501, allocations: 1.065 MB / 0.6539 GB, free: 1.277 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005002/0.5506, allocations: 103.6 kB / 0.654 GB, free: 1.172 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006394/0.5513, allocations: 423.3 kB / 0.6544 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5513, allocations: 4 kB / 0.6544 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05158/0.6029, allocations: 30.35 MB / 0.6841 GB, free: 2.602 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003174/0.6033, allocations: 270.7 kB / 0.6843 GB, free: 2.266 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.783/3.386, allocations: 4 kB / 0.6843 GB, free: 2.262 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)