Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_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.Reference_system,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_2_0_0_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/Modelica_Synchronous 0.93.0/package.mo): time 0.08442/0.08442, allocations: 12.21 MB / 27.33 MB, free: 1.441 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.00119/0.00119, allocations: 119.4 kB / 30.84 MB, free: 4.711 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.413/1.413, allocations: 205.1 MB / 239.3 MB, free: 10.93 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.001552/0.001552, allocations: 188.5 kB / 289.5 MB, free: 15.88 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4493/0.4493, allocations: 78.51 MB / 418 MB, free: 31.81 MB / 318.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.002844/0.002844, allocations: 128.8 kB / 498.3 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3813, allocations: 68.03 MB / 0.5531 GB, free: 37.88 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.006957/0.3883, allocations: 8.517 MB / 0.5614 GB, free: 31.58 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004889/0.3933, allocations: 2.625 MB / 0.564 GB, free: 29.72 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000971/0.3943, allocations: 10.75 kB / 0.564 GB, free: 29.72 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00068/0.395, allocations: 239.5 kB / 0.5642 GB, free: 29.62 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003155/0.3981, allocations: 1.371 MB / 0.5655 GB, free: 28.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.3992, allocations: 0.5566 MB / 0.5661 GB, free: 28.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002366/0.4016, allocations: 2.433 MB / 0.5685 GB, free: 27.4 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004286/0.402, allocations: 290.8 kB / 0.5687 GB, free: 27.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.4031, allocations: 0.9059 MB / 0.5696 GB, free: 26.88 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001209/0.4043, allocations: 1.266 MB / 0.5709 GB, free: 26.35 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002546/0.4046, allocations: 117.2 kB / 0.571 GB, free: 26.35 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007488/0.4053, allocations: 289.3 kB / 0.5712 GB, free: 26.29 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003762/0.4057, allocations: 445.3 kB / 0.5717 GB, free: 26.04 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007332/0.4065, allocations: 0.8977 MB / 0.5725 GB, free: 25.49 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001925/0.4084, allocations: 2.276 MB / 0.5748 GB, free: 24.53 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4084, allocations: 8 kB / 0.5748 GB, free: 24.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.4084, allocations: 3.938 kB / 0.5748 GB, free: 24.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.796e-05/0.4085, allocations: 0 / 0.5748 GB, free: 24.52 MB / 414.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.02109/0.4296, allocations: 4.94 MB / 0.5796 GB, free: 22.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.258e-05/0.4297, allocations: 17.48 kB / 0.5796 GB, free: 22.85 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002446/0.4299, allocations: 136.6 kB / 0.5797 GB, free: 22.76 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003678/0.4336, allocations: 0.5776 MB / 0.5803 GB, free: 22.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002277/0.4359, allocations: 1.215 MB / 0.5815 GB, free: 21.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002941/0.4362, allocations: 268.5 kB / 0.5818 GB, free: 21.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002667/0.4365, allocations: 115.2 kB / 0.5819 GB, free: 21.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002423/0.4389, allocations: 1.091 MB / 0.5829 GB, free: 21.15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.4389, allocations: 0.9688 kB / 0.5829 GB, free: 21.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.4391, allocations: 31.06 kB / 0.583 GB, free: 21.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.832e-05/0.4391, allocations: 28.97 kB / 0.583 GB, free: 21.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002499/0.4416, allocations: 1.178 MB / 0.5841 GB, free: 20.72 MB / 414.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.007937/0.4495, allocations: 4.623 MB / 0.5887 GB, free: 17.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002965/0.4525, allocations: 2.145 MB / 0.5907 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001383/0.4539, allocations: 0.7916 MB / 0.5915 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001221/0.4541, allocations: 22.72 kB / 0.5915 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.4541, allocations: 44.56 kB / 0.5916 GB, free: 15.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=130): time 3.366e-06/0.4541, allocations: 0 / 0.5916 GB, free: 15.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=130): time 0.02619/0.4803, allocations: 6.693 MB / 0.5981 GB, free: 11.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.646e-05/0.4804, allocations: 64.44 kB / 0.5982 GB, free: 11.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002911/0.4834, allocations: 1.661 MB / 0.5998 GB, free: 10.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005699/0.4839, allocations: 57.7 kB / 0.5999 GB, free: 10.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003629/0.4843, allocations: 0.5536 MB / 0.6004 GB, free: 9.875 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005791/0.4849, allocations: 0.4893 MB / 0.6009 GB, free: 9.379 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008017/0.4857, allocations: 0.5171 MB / 0.6014 GB, free: 8.855 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.408e-05/0.4858, allocations: 301.1 kB / 0.6017 GB, free: 8.559 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00187/0.4877, allocations: 1.142 MB / 0.6028 GB, free: 7.414 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001951/0.4896, allocations: 1.364 MB / 0.6041 GB, free: 6.023 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003582/0.4932, allocations: 2.342 MB / 0.6064 GB, free: 3.645 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.4932, allocations: 0 / 0.6064 GB, free: 3.645 MB / 414.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.008324/0.5016, allocations: 4.078 MB / 0.6104 GB, free: 15.53 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.5016, allocations: 4 kB / 0.6104 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.5016, allocations: 4 kB / 0.6104 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01101/0.5127, allocations: 2.823 MB / 0.6132 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002551/0.5153, allocations: 483.3 kB / 0.6136 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005701/0.521, allocations: 2.536 MB / 0.6161 GB, free: 9.652 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003234/0.5242, allocations: 241.9 kB / 0.6163 GB, free: 9.414 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000358/0.5246, allocations: 91.97 kB / 0.6164 GB, free: 9.324 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.0007225/0.5253, allocations: 313.8 kB / 0.6167 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004287/0.5258, allocations: 165.8 kB / 0.6169 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0107/0.5365, allocations: 3.55 MB / 0.6203 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/0.5366, allocations: 15.98 kB / 0.6203 GB, free: 5.258 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.5366, allocations: 0 / 0.6203 GB, free: 5.258 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.131e-05/0.5366, allocations: 7.922 kB / 0.6204 GB, free: 5.25 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.01369/0.5503, allocations: 5.662 MB / 0.6259 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/0.5504, allocations: 0 / 0.6259 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/0.5515, allocations: 167.8 kB / 0.626 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005349/0.5569, allocations: 1.484 MB / 0.6275 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002935/0.5572, allocations: 31.98 kB / 0.6275 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01679/0.574, allocations: 7.176 MB / 0.6345 GB, free: 6.422 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5741, allocations: 0 / 0.6345 GB, free: 6.422 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0124/0.5865, allocations: 4.563 MB / 0.639 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000862/0.5874, allocations: 306.8 kB / 0.6393 GB, free: 1.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000279/0.5877, allocations: 24 kB / 0.6393 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/0.5891, allocations: 79.92 kB / 0.6394 GB, free: 1.418 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005942/0.5897, allocations: 189.4 kB / 0.6396 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.986e-05/0.5898, allocations: 35.98 kB / 0.6396 GB, free: 1.199 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001437/0.5913, allocations: 1.09 MB / 0.6407 GB, free: 116 kB / 446.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5913, allocations: 3.938 kB / 0.6407 GB, free: 112 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.001664/0.5929, allocations: 0.5894 MB / 0.6412 GB, free: 15.52 MB / 462.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.01257/0.6055, allocations: 5.168 MB / 0.6463 GB, free: 10.31 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008055/0.6136, allocations: 2.971 MB / 0.6492 GB, free: 7.34 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.6137, allocations: 0 / 0.6492 GB, free: 7.34 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004219/0.6179, allocations: 1.497 MB / 0.6506 GB, free: 5.828 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.6195, allocations: 131.2 kB / 0.6508 GB, free: 5.699 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03985/0.6594, allocations: 20.81 MB / 0.6711 GB, free: 15.95 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007249/0.6601, allocations: 1.242 MB / 0.6723 GB, free: 14.67 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009148/0.6611, allocations: 167.2 kB / 0.6725 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009121/0.662, allocations: 0.6281 MB / 0.6731 GB, free: 13.88 MB / 494.1 MB Notification: Performance of SimCode: time 8.11e-07/0.662, allocations: 0 / 0.6731 GB, free: 13.88 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07147/0.7335, allocations: 41.75 MB / 0.7139 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/0.7337, allocations: 266.7 kB / 0.7141 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.999/3.733, allocations: 0 / 0.7141 GB, free: 3.949 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)