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-master/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-master/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-master/package.mo): time 0.09374/0.09374, allocations: 12.6 MB / 28.1 MB, free: 252 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 111.5 kB / 31.7 MB, free: 3.516 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.445/1.445, allocations: 205.1 MB / 240.3 MB, free: 12.41 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.001323/0.001323, allocations: 196.4 kB / 290.6 MB, free: 13.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4526/0.4526, allocations: 78.51 MB / 419.2 MB, free: 11.34 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.002998/0.002998, allocations: 139.8 kB / 499.9 MB, free: 10.74 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3439, allocations: 68.12 MB / 0.5547 GB, free: 32.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.008305/0.3522, allocations: 8.266 MB / 0.5628 GB, free: 26.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005848/0.3581, allocations: 2.592 MB / 0.5653 GB, free: 24.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00214/0.3603, allocations: 11.38 kB / 0.5653 GB, free: 24.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009063/0.3613, allocations: 296.4 kB / 0.5656 GB, free: 24.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004435/0.3657, allocations: 1.501 MB / 0.5671 GB, free: 22.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.3671, allocations: 0.5999 MB / 0.5676 GB, free: 22.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004183/0.3713, allocations: 2.549 MB / 0.5701 GB, free: 20.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005512/0.3719, allocations: 317.9 kB / 0.5704 GB, free: 20.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001658/0.3735, allocations: 1.007 MB / 0.5714 GB, free: 20.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001681/0.3752, allocations: 1.353 MB / 0.5727 GB, free: 19.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00041/0.3756, allocations: 203.1 kB / 0.5729 GB, free: 19.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000938/0.3766, allocations: 384.1 kB / 0.5733 GB, free: 19.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003469/0.3769, allocations: 0.5166 MB / 0.5738 GB, free: 18.72 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007987/0.3777, allocations: 0.9843 MB / 0.5748 GB, free: 17.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002399/0.3802, allocations: 2.347 MB / 0.5771 GB, free: 16.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3802, allocations: 5.219 kB / 0.5771 GB, free: 16.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3802, allocations: 0 / 0.5771 GB, free: 16.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.029e-05/0.3802, allocations: 0 / 0.5771 GB, free: 16.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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.01904/0.3993, allocations: 4.952 MB / 0.5819 GB, free: 11.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.3993, allocations: 15.98 kB / 0.5819 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001519/0.3995, allocations: 139.4 kB / 0.582 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003252/0.4028, allocations: 0.572 MB / 0.5826 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001772/0.4045, allocations: 1.216 MB / 0.5838 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002263/0.4048, allocations: 268.8 kB / 0.584 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/0.405, allocations: 111.9 kB / 0.5841 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.4068, allocations: 1.096 MB / 0.5852 GB, free: 8.023 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.4068, allocations: 0 / 0.5852 GB, free: 8.023 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.646e-05/0.4069, allocations: 28 kB / 0.5852 GB, free: 7.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.407, allocations: 27.94 kB / 0.5853 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001998/0.409, allocations: 1.175 MB / 0.5864 GB, free: 6.793 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.006873/0.4159, allocations: 4.626 MB / 0.5909 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00283/0.4187, allocations: 2.145 MB / 0.593 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001522/0.4203, allocations: 0.7971 MB / 0.5938 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001173/0.4204, allocations: 21.3 kB / 0.5938 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.4204, allocations: 51.8 kB / 0.5939 GB, free: 14.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=130): time 4.168e-06/0.4205, allocations: 0 / 0.5939 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=130): time 0.02689/0.4474, allocations: 6.687 MB / 0.6004 GB, free: 8.012 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/0.4475, allocations: 68.72 kB / 0.6005 GB, free: 7.934 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002696/0.4502, allocations: 1.659 MB / 0.6021 GB, free: 6.266 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004081/0.4506, allocations: 57.7 kB / 0.6022 GB, free: 6.203 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004585/0.4511, allocations: 0.5535 MB / 0.6027 GB, free: 5.641 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006195/0.4517, allocations: 0.4932 MB / 0.6032 GB, free: 5.141 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008968/0.4526, allocations: 0.5055 MB / 0.6037 GB, free: 4.629 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.4527, allocations: 305.1 kB / 0.604 GB, free: 4.328 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00221/0.4549, allocations: 1.149 MB / 0.6051 GB, free: 3.176 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002367/0.4573, allocations: 1.36 MB / 0.6064 GB, free: 1.789 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004385/0.4617, allocations: 2.342 MB / 0.6087 GB, free: 15.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.4617, allocations: 0 / 0.6087 GB, free: 15.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.009233/0.471, allocations: 4.086 MB / 0.6127 GB, free: 11.28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.471, allocations: 4 kB / 0.6127 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.4711, allocations: 3.984 kB / 0.6127 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01071/0.4818, allocations: 2.831 MB / 0.6155 GB, free: 8.438 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00247/0.4843, allocations: 483.3 kB / 0.6159 GB, free: 7.965 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006225/0.4906, allocations: 2.523 MB / 0.6184 GB, free: 5.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003175/0.4938, allocations: 237.9 kB / 0.6186 GB, free: 5.176 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004894/0.4943, allocations: 91.95 kB / 0.6187 GB, free: 5.086 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.001008/0.4953, allocations: 325.2 kB / 0.619 GB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006274/0.4959, allocations: 165.8 kB / 0.6192 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/0.5072, allocations: 3.546 MB / 0.6226 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.306e-05/0.5073, allocations: 20 kB / 0.6226 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.5073, allocations: 0 / 0.6226 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.612e-05/0.5073, allocations: 7.969 kB / 0.6227 GB, free: 1 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.0155/0.5228, allocations: 5.659 MB / 0.6282 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-05/0.5229, allocations: 0 / 0.6282 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/0.5241, allocations: 167.8 kB / 0.6283 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005641/0.5298, allocations: 1.492 MB / 0.6298 GB, free: 9.516 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003095/0.5301, allocations: 31.98 kB / 0.6298 GB, free: 9.484 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01985/0.55, allocations: 7.853 MB / 0.6375 GB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.55, allocations: 0 / 0.6375 GB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01403/0.5641, allocations: 4.553 MB / 0.6419 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008689/0.565, allocations: 302.7 kB / 0.6422 GB, free: 12.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006893/0.5657, allocations: 32 kB / 0.6423 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001943/0.5677, allocations: 75.92 kB / 0.6423 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007274/0.5684, allocations: 189.5 kB / 0.6425 GB, free: 12.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001964/0.5686, allocations: 36 kB / 0.6426 GB, free: 12.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00194/0.5706, allocations: 1.09 MB / 0.6436 GB, free: 11.19 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5706, allocations: 4 kB / 0.6436 GB, free: 11.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002436/0.573, allocations: 0.5971 MB / 0.6442 GB, free: 10.59 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.0139/0.5869, allocations: 5.16 MB / 0.6492 GB, free: 5.391 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009694/0.5967, allocations: 3.041 MB / 0.6522 GB, free: 2.348 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.5967, allocations: 4 kB / 0.6522 GB, free: 2.344 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004861/0.6016, allocations: 1.528 MB / 0.6537 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/0.6036, allocations: 129.6 kB / 0.6538 GB, free: 0.668 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04538/0.6491, allocations: 20.32 MB / 0.6737 GB, free: 11.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/0.6502, allocations: 1.238 MB / 0.6749 GB, free: 10.13 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001104/0.6514, allocations: 163.2 kB / 0.675 GB, free: 9.965 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001334/0.6527, allocations: 0.6281 MB / 0.6757 GB, free: 9.336 MB / 494.1 MB Notification: Performance of SimCode: time 1.172e-06/0.6527, allocations: 3.938 kB / 0.6757 GB, free: 9.332 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3474/1, allocations: 44.58 MB / 0.7192 GB, free: 146.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/13.47, allocations: 6.406 kB / 0.7192 GB, free: 146.8 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 & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 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)