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: translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08515/0.08515, allocations: 12.2 MB / 28.08 MB, free: 1.336 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.001177/0.001177, allocations: 121.2 kB / 31.59 MB, free: 4.57 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.49/1.49, allocations: 205.1 MB / 240.1 MB, free: 12.96 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.001495/0.001495, allocations: 187.8 kB / 290.2 MB, free: 14.1 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4359/0.4359, allocations: 78.51 MB / 418.8 MB, free: 11.96 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.00257/0.00257, allocations: 136.8 kB / 499.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3459, allocations: 68.03 MB / 0.5538 GB, free: 32.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.009187/0.3552, allocations: 8.523 MB / 0.5621 GB, free: 26.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006629/0.3619, allocations: 2.604 MB / 0.5647 GB, free: 24.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002582/0.3645, allocations: 12.28 kB / 0.5647 GB, free: 24.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.3658, allocations: 237.5 kB / 0.5649 GB, free: 24.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005584/0.3714, allocations: 1.36 MB / 0.5662 GB, free: 23.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.3732, allocations: 0.5474 MB / 0.5668 GB, free: 22.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00457/0.3778, allocations: 2.551 MB / 0.5693 GB, free: 21.42 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007643/0.3786, allocations: 326.2 kB / 0.5696 GB, free: 21.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00208/0.3807, allocations: 1.008 MB / 0.5706 GB, free: 20.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002099/0.3828, allocations: 1.354 MB / 0.5719 GB, free: 19.69 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006368/0.3835, allocations: 202.8 kB / 0.5721 GB, free: 19.69 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001263/0.3848, allocations: 380.4 kB / 0.5724 GB, free: 19.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004161/0.3852, allocations: 0.5239 MB / 0.573 GB, free: 19.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001189/0.3864, allocations: 0.9865 MB / 0.5739 GB, free: 18.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002293/0.3887, allocations: 1.81 MB / 0.5757 GB, free: 17.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.3887, allocations: 7.984 kB / 0.5757 GB, free: 17.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3887, allocations: 0 / 0.5757 GB, free: 17.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.585e-05/0.3888, allocations: 0 / 0.5757 GB, free: 17.02 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.01975/0.4085, allocations: 4.943 MB / 0.5805 GB, free: 12.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.4086, allocations: 11.98 kB / 0.5805 GB, free: 12.85 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003427/0.4121, allocations: 0.5799 MB / 0.5811 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002045/0.4141, allocations: 1.212 MB / 0.5823 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002369/0.4144, allocations: 268.8 kB / 0.5825 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002142/0.4146, allocations: 119.9 kB / 0.5827 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/0.4166, allocations: 1.089 MB / 0.5837 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.4166, allocations: 3.938 kB / 0.5837 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.642e-05/0.4167, allocations: 36 kB / 0.5838 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.4167, allocations: 23.98 kB / 0.5838 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/0.4187, allocations: 1.175 MB / 0.5849 GB, free: 8.254 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.007389/0.4261, allocations: 4.618 MB / 0.5894 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002699/0.4289, allocations: 2.14 MB / 0.5915 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.4301, allocations: 0.7977 MB / 0.5923 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.4303, allocations: 25.28 kB / 0.5923 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.4303, allocations: 47.86 kB / 0.5924 GB, free: 204 kB / 398.1 MB Notification: Performance of pre-optimization done (n=130): time 4.168e-06/0.4303, allocations: 3.938 kB / 0.5924 GB, free: 200 kB / 398.1 MB Notification: Performance of matching and sorting (n=130): time 0.02741/0.4577, allocations: 6.691 MB / 0.5989 GB, free: 9.469 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.241e-05/0.4579, allocations: 64.72 kB / 0.599 GB, free: 9.395 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0031/0.461, allocations: 1.651 MB / 0.6006 GB, free: 7.734 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004686/0.4615, allocations: 65.7 kB / 0.6006 GB, free: 7.664 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000465/0.462, allocations: 0.5496 MB / 0.6012 GB, free: 7.105 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007063/0.4627, allocations: 0.501 MB / 0.6017 GB, free: 6.598 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008769/0.4636, allocations: 0.5055 MB / 0.6022 GB, free: 6.086 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.4637, allocations: 309.1 kB / 0.6025 GB, free: 5.781 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002074/0.4658, allocations: 1.145 MB / 0.6036 GB, free: 4.633 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002229/0.468, allocations: 1.356 MB / 0.6049 GB, free: 3.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004092/0.4721, allocations: 2.342 MB / 0.6072 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.4721, allocations: 4 kB / 0.6072 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.009013/0.4812, allocations: 4.082 MB / 0.6112 GB, free: 12.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.451e-05/0.4812, allocations: 6.969 kB / 0.6112 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.4813, allocations: 7.984 kB / 0.6112 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01063/0.4919, allocations: 2.827 MB / 0.614 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002437/0.4944, allocations: 483.3 kB / 0.6144 GB, free: 9.426 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005487/0.4999, allocations: 2.531 MB / 0.6169 GB, free: 6.867 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003126/0.5031, allocations: 237.9 kB / 0.6171 GB, free: 6.633 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003292/0.5034, allocations: 95.95 kB / 0.6172 GB, free: 6.539 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.0006931/0.5041, allocations: 317.3 kB / 0.6175 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004317/0.5046, allocations: 165.8 kB / 0.6177 GB, free: 6.055 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01028/0.5149, allocations: 3.546 MB / 0.6211 GB, free: 2.488 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-05/0.5149, allocations: 12 kB / 0.6211 GB, free: 2.477 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.515, allocations: 4 kB / 0.6211 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.936e-05/0.515, allocations: 7.969 kB / 0.6212 GB, free: 2.465 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.01453/0.5295, allocations: 5.662 MB / 0.6267 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/0.5296, allocations: 0 / 0.6267 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/0.5308, allocations: 163.8 kB / 0.6268 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005304/0.5361, allocations: 1.496 MB / 0.6283 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003101/0.5365, allocations: 27.98 kB / 0.6283 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01867/0.5552, allocations: 7.857 MB / 0.636 GB, free: 2.949 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5552, allocations: 0 / 0.636 GB, free: 2.949 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01348/0.5687, allocations: 4.561 MB / 0.6405 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009158/0.5697, allocations: 306.7 kB / 0.6407 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007182/0.5704, allocations: 28 kB / 0.6408 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001993/0.5724, allocations: 75.92 kB / 0.6408 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007327/0.5732, allocations: 193.5 kB / 0.641 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000186/0.5734, allocations: 32 kB / 0.6411 GB, free: 13.72 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001908/0.5753, allocations: 1.09 MB / 0.6421 GB, free: 12.63 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5753, allocations: 0 / 0.6421 GB, free: 12.63 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002509/0.5778, allocations: 0.5972 MB / 0.6427 GB, free: 12.04 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.0004963/0.5783, allocations: 147.5 kB / 0.6428 GB, free: 11.88 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009498/0.5878, allocations: 3.042 MB / 0.6458 GB, free: 8.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.5879, allocations: 0 / 0.6458 GB, free: 8.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004748/0.5926, allocations: 1.528 MB / 0.6473 GB, free: 7.289 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/0.5948, allocations: 133.5 kB / 0.6474 GB, free: 7.156 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008429/0.6033, allocations: 4.073 MB / 0.6514 GB, free: 3.066 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/0.6044, allocations: 1.238 MB / 0.6526 GB, free: 1.797 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009984/0.6054, allocations: 107.4 kB / 0.6527 GB, free: 1.691 MB / 462.1 MB Notification: Performance of SimCode: time 1.222e-06/0.6054, allocations: 0 / 0.6527 GB, free: 1.691 MB / 462.1 MB Notification: Performance of Templates: time 0.04024/0.6456, allocations: 26.49 MB / 0.6786 GB, free: 7.176 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.makefile (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 & ./OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)