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.09122/0.09122, 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.001628/0.001628, allocations: 119.4 kB / 30.83 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.433/1.433, allocations: 205.1 MB / 239.3 MB, free: 10.94 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.001354/0.001354, allocations: 192.6 kB / 289.5 MB, free: 15.89 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.448/0.448, allocations: 78.5 MB / 418 MB, free: 31.77 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.002374/0.002375, allocations: 123.8 kB / 498.2 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3282, allocations: 68.04 MB / 0.553 GB, free: 37.43 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.01145/0.3397, allocations: 8.52 MB / 0.5613 GB, free: 31.14 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007215/0.347, allocations: 2.615 MB / 0.5638 GB, free: 29.29 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001814/0.3489, allocations: 11.78 kB / 0.5638 GB, free: 29.29 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.3501, allocations: 239.1 kB / 0.5641 GB, free: 29.19 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004455/0.3546, allocations: 1.377 MB / 0.5654 GB, free: 28.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.356, allocations: 0.5525 MB / 0.566 GB, free: 28.04 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003435/0.3594, allocations: 2.434 MB / 0.5683 GB, free: 26.96 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006974/0.3601, allocations: 296.2 kB / 0.5686 GB, free: 26.81 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.3618, allocations: 0.9024 MB / 0.5695 GB, free: 26.44 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001975/0.3638, allocations: 1.27 MB / 0.5707 GB, free: 25.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007879/0.3646, allocations: 117.2 kB / 0.5709 GB, free: 25.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.3661, allocations: 283 kB / 0.5711 GB, free: 25.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008008/0.3669, allocations: 451.2 kB / 0.5716 GB, free: 25.61 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001356/0.3683, allocations: 0.8957 MB / 0.5724 GB, free: 25.05 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002133/0.3704, allocations: 2.28 MB / 0.5747 GB, free: 24.09 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.3705, allocations: 5.734 kB / 0.5747 GB, free: 24.09 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3705, allocations: 0 / 0.5747 GB, free: 24.09 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.508e-05/0.3705, allocations: 7.938 kB / 0.5747 GB, free: 24.08 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.02167/0.3922, allocations: 4.946 MB / 0.5795 GB, free: 22.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.742e-05/0.3923, allocations: 12.48 kB / 0.5795 GB, free: 22.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003812/0.3961, allocations: 0.5705 MB / 0.5801 GB, free: 22.26 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002431/0.3985, allocations: 1.216 MB / 0.5813 GB, free: 21.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003239/0.3989, allocations: 269.3 kB / 0.5815 GB, free: 21.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002551/0.3991, allocations: 118.7 kB / 0.5816 GB, free: 21.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002726/0.4019, allocations: 1.092 MB / 0.5827 GB, free: 20.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.4019, allocations: 0 / 0.5827 GB, free: 20.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.402, allocations: 30.78 kB / 0.5827 GB, free: 20.78 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.023e-05/0.4021, allocations: 20.06 kB / 0.5827 GB, free: 20.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002988/0.4051, allocations: 1.184 MB / 0.5839 GB, free: 20.38 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.008057/0.4131, allocations: 4.624 MB / 0.5884 GB, free: 17.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002866/0.416, allocations: 2.141 MB / 0.5905 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001361/0.4174, allocations: 0.7955 MB / 0.5913 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/0.4175, allocations: 18.42 kB / 0.5913 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.4176, allocations: 49.75 kB / 0.5913 GB, free: 15.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=130): time 3.456e-06/0.4176, allocations: 0 / 0.5913 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=130): time 0.02651/0.4441, allocations: 6.695 MB / 0.5979 GB, free: 11.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.4442, allocations: 65.03 kB / 0.5979 GB, free: 11.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003022/0.4472, allocations: 1.66 MB / 0.5996 GB, free: 10.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004902/0.4477, allocations: 53.7 kB / 0.5996 GB, free: 10.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003767/0.4481, allocations: 0.5575 MB / 0.6002 GB, free: 10.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005024/0.4486, allocations: 0.4893 MB / 0.6006 GB, free: 9.547 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008062/0.4494, allocations: 0.517 MB / 0.6011 GB, free: 9.023 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.16e-05/0.4495, allocations: 301.1 kB / 0.6014 GB, free: 8.727 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00189/0.4514, allocations: 1.145 MB / 0.6026 GB, free: 7.578 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002026/0.4534, allocations: 1.36 MB / 0.6039 GB, free: 6.191 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003594/0.457, allocations: 2.342 MB / 0.6062 GB, free: 3.812 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.4571, allocations: 4 kB / 0.6062 GB, free: 3.809 MB / 414.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.008369/0.4654, allocations: 4.074 MB / 0.6101 GB, free: 15.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.4655, allocations: 8.188 kB / 0.6102 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.4655, allocations: 4 kB / 0.6102 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01062/0.4762, allocations: 2.83 MB / 0.6129 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002591/0.4788, allocations: 475.4 kB / 0.6134 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005436/0.4842, allocations: 2.527 MB / 0.6158 GB, free: 9.824 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00328/0.4876, allocations: 245.9 kB / 0.6161 GB, free: 9.582 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002631/0.4878, allocations: 87.97 kB / 0.6162 GB, free: 9.496 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.0007226/0.4886, allocations: 317.3 kB / 0.6165 GB, free: 9.176 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004011/0.489, allocations: 173.8 kB / 0.6166 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01026/0.4992, allocations: 3.542 MB / 0.6201 GB, free: 5.441 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-05/0.4993, allocations: 12 kB / 0.6201 GB, free: 5.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.4993, allocations: 4 kB / 0.6201 GB, free: 5.426 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.077e-05/0.4994, allocations: 3.984 kB / 0.6201 GB, free: 5.422 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.01388/0.5133, allocations: 5.663 MB / 0.6256 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.5133, allocations: 3.984 kB / 0.6256 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/0.5144, allocations: 163.8 kB / 0.6258 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005398/0.5198, allocations: 1.48 MB / 0.6272 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002382/0.5201, allocations: 31.98 kB / 0.6273 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01815/0.5383, allocations: 7.18 MB / 0.6343 GB, free: 6.594 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5383, allocations: 0 / 0.6343 GB, free: 6.594 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01371/0.552, allocations: 4.564 MB / 0.6387 GB, free: 2.008 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001421/0.5535, allocations: 302.8 kB / 0.639 GB, free: 1.691 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008597/0.5544, allocations: 28 kB / 0.6391 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002306/0.5567, allocations: 79.92 kB / 0.6391 GB, free: 1.586 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000722/0.5575, allocations: 185.4 kB / 0.6393 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/0.5576, allocations: 36 kB / 0.6393 GB, free: 1.371 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001977/0.5596, allocations: 1.09 MB / 0.6404 GB, free: 292 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5596, allocations: 0 / 0.6404 GB, free: 292 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.002427/0.5621, allocations: 0.5933 MB / 0.641 GB, free: 15.69 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.0003862/0.5625, allocations: 156.6 kB / 0.6411 GB, free: 15.53 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008491/0.571, allocations: 2.973 MB / 0.644 GB, free: 12.55 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.571, allocations: 3.938 kB / 0.644 GB, free: 12.54 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004439/0.5754, allocations: 1.501 MB / 0.6455 GB, free: 11.04 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/0.5778, allocations: 135.2 kB / 0.6456 GB, free: 10.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007623/0.5854, allocations: 4.022 MB / 0.6496 GB, free: 6.871 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009291/0.5864, allocations: 1.23 MB / 0.6508 GB, free: 5.609 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001059/0.5875, allocations: 163.2 kB / 0.6509 GB, free: 5.445 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007678/0.5882, allocations: 99.42 kB / 0.651 GB, free: 5.348 MB / 462.1 MB Notification: Performance of SimCode: time 1.212e-06/0.5883, allocations: 3.938 kB / 0.651 GB, free: 5.344 MB / 462.1 MB Notification: Performance of Templates: time 0.04827/0.6365, allocations: 27.88 MB / 0.6783 GB, free: 9.484 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)