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: 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-master/package.mo): time 0.07739/0.07739, allocations: 12.6 MB / 28.9 MB, free: 0.7109 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.001292/0.001292, allocations: 115.4 kB / 32.5 MB, free: 3.652 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.349/1.349, allocations: 205.1 MB / 241.1 MB, free: 12.34 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.001431/0.001431, allocations: 200.4 kB / 291.4 MB, free: 13.36 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4398/0.4398, allocations: 78.52 MB / 420 MB, free: 11.25 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.003874/0.003874, allocations: 143.7 kB / 0.5565 GB, free: 28.58 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1448, allocations: 68.14 MB / 0.623 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.009407/0.1543, allocations: 8.27 MB / 0.6311 GB, free: 7.113 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005497/0.1598, allocations: 2.585 MB / 0.6336 GB, free: 4.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006348/0.1605, allocations: 12 kB / 0.6337 GB, free: 4.508 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006915/0.1612, allocations: 309.4 kB / 0.6339 GB, free: 4.203 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003555/0.1648, allocations: 1.546 MB / 0.6355 GB, free: 2.664 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.1661, allocations: 0.5927 MB / 0.636 GB, free: 2.074 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003194/0.1693, allocations: 2.562 MB / 0.6385 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005268/0.1698, allocations: 312.8 kB / 0.6388 GB, free: 15.18 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001313/0.1711, allocations: 1.016 MB / 0.6398 GB, free: 14.16 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001619/0.1727, allocations: 1.358 MB / 0.6412 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003281/0.1731, allocations: 200 kB / 0.6413 GB, free: 12.6 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007225/0.1738, allocations: 387.8 kB / 0.6417 GB, free: 12.22 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005078/0.1743, allocations: 0.5215 MB / 0.6422 GB, free: 11.7 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009846/0.1753, allocations: 0.9868 MB / 0.6432 GB, free: 10.7 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002638/0.178, allocations: 2.385 MB / 0.6455 GB, free: 8.309 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.178, allocations: 0 / 0.6455 GB, free: 8.309 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.178, allocations: 0 / 0.6455 GB, free: 8.309 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.435e-05/0.178, allocations: 0 / 0.6455 GB, free: 8.309 MB / 462.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.01935/0.1974, allocations: 5.002 MB / 0.6504 GB, free: 3.242 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1974, allocations: 19.98 kB / 0.6504 GB, free: 3.223 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003339/0.2008, allocations: 0.581 MB / 0.651 GB, free: 2.641 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001947/0.2028, allocations: 1.225 MB / 0.6522 GB, free: 1.367 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002994/0.2031, allocations: 276.8 kB / 0.6524 GB, free: 1.062 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002102/0.2033, allocations: 119.9 kB / 0.6526 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002154/0.2054, allocations: 1.089 MB / 0.6536 GB, free: 15.85 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.2055, allocations: 0 / 0.6536 GB, free: 15.85 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.2056, allocations: 39.98 kB / 0.6537 GB, free: 15.81 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/0.2056, allocations: 20 kB / 0.6537 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002418/0.208, allocations: 1.183 MB / 0.6548 GB, free: 14.6 MB / 478.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.007714/0.2158, allocations: 4.611 MB / 0.6593 GB, free: 9.773 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003488/0.2193, allocations: 2.141 MB / 0.6614 GB, free: 7.453 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001544/0.2208, allocations: 0.7934 MB / 0.6622 GB, free: 6.652 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000128/0.221, allocations: 21.3 kB / 0.6622 GB, free: 6.633 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.221, allocations: 47.88 kB / 0.6623 GB, free: 6.574 MB / 478.1 MB Notification: Performance of pre-optimization done (n=130): time 3.717e-06/0.221, allocations: 4 kB / 0.6623 GB, free: 6.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=130): time 0.02627/0.2473, allocations: 6.696 MB / 0.6688 GB, free: 15.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.692e-05/0.2474, allocations: 68.72 kB / 0.6689 GB, free: 15.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003249/0.2507, allocations: 1.655 MB / 0.6705 GB, free: 14.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004652/0.2512, allocations: 57.7 kB / 0.6705 GB, free: 14.04 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000591/0.2518, allocations: 0.5582 MB / 0.6711 GB, free: 13.47 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000692/0.2525, allocations: 0.5152 MB / 0.6716 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009332/0.2534, allocations: 0.5134 MB / 0.6721 GB, free: 12.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.2536, allocations: 301.1 kB / 0.6724 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002257/0.2558, allocations: 1.145 MB / 0.6735 GB, free: 10.99 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002571/0.2584, allocations: 1.36 MB / 0.6748 GB, free: 9.602 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004553/0.263, allocations: 2.346 MB / 0.6771 GB, free: 7.215 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.263, allocations: 0 / 0.6771 GB, free: 7.215 MB / 494.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.009522/0.2725, allocations: 4.091 MB / 0.6811 GB, free: 3.082 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/0.2726, allocations: 4 kB / 0.6811 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.2726, allocations: 7.938 kB / 0.6811 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01099/0.2836, allocations: 2.827 MB / 0.6839 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002484/0.2862, allocations: 475.3 kB / 0.6843 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005896/0.2921, allocations: 2.535 MB / 0.6868 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002857/0.295, allocations: 242.5 kB / 0.6871 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002497/0.2953, allocations: 91.97 kB / 0.6871 GB, free: 12.88 MB / 0.4981 GB 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.0006961/0.296, allocations: 317.2 kB / 0.6874 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003775/0.2963, allocations: 178.8 kB / 0.6876 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01109/0.3074, allocations: 3.55 MB / 0.6911 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-05/0.3075, allocations: 19.94 kB / 0.6911 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/0.3075, allocations: 0 / 0.6911 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.492e-05/0.3076, allocations: 7.922 kB / 0.6911 GB, free: 8.785 MB / 0.4981 GB 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.01421/0.3218, allocations: 5.65 MB / 0.6966 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/0.3218, allocations: 0 / 0.6966 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/0.323, allocations: 167.8 kB / 0.6968 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005441/0.3284, allocations: 1.48 MB / 0.6982 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002376/0.3287, allocations: 27.98 kB / 0.6983 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01902/0.3477, allocations: 7.874 MB / 0.7059 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.3478, allocations: 3.984 kB / 0.7059 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01324/0.361, allocations: 4.578 MB / 0.7104 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007273/0.3618, allocations: 307.7 kB / 0.7107 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002587/0.362, allocations: 27.98 kB / 0.7107 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/0.3634, allocations: 75.94 kB / 0.7108 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006173/0.364, allocations: 185.5 kB / 0.711 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.3641, allocations: 39.98 kB / 0.711 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001629/0.3658, allocations: 1.094 MB / 0.7121 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3658, allocations: 0 / 0.7121 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001503/0.3673, allocations: 0.5934 MB / 0.7127 GB, free: 2.336 MB / 0.5137 GB 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.0003171/0.3676, allocations: 151 kB / 0.7128 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.2589/0.6265, allocations: 2.993 MB / 0.7157 GB, free: 85.77 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.6265, allocations: 0.8438 kB / 0.7157 GB, free: 85.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004815/0.6314, allocations: 1.532 MB / 0.7172 GB, free: 85.58 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/0.6328, allocations: 134.6 kB / 0.7174 GB, free: 85.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007245/0.6401, allocations: 3.532 MB / 0.7208 GB, free: 83.93 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001258/0.6414, allocations: 1.237 MB / 0.722 GB, free: 83.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001211/0.6426, allocations: 156.7 kB / 0.7222 GB, free: 83.17 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005501/0.6432, allocations: 104.8 kB / 0.7223 GB, free: 83.16 MB / 0.5137 GB Notification: Performance of SimCode: time 1.873e-06/0.6432, allocations: 0 / 0.7223 GB, free: 83.16 MB / 0.5137 GB Notification: Performance of Templates: time 0.04846/0.6917, allocations: 30.94 MB / 0.7525 GB, free: 67.38 MB / 0.5137 GB 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 -s cvode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)