Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.conf.json 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 4.0.0+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 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 109.9 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 240.1 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 192.5 kB / 290.4 MB, free: 2.289 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5311/0.5311, allocations: 91.9 MB / 432.4 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 85.09 kB / 0.5734 GB, free: 33.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.183, allocations: 71.28 MB / 0.643 GB, free: 3.637 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.008986/0.1921, allocations: 6.202 MB / 0.649 GB, free: 13.4 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005334/0.1975, allocations: 2.11 MB / 0.6511 GB, free: 11.29 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001306/0.1988, allocations: 11.94 kB / 0.6511 GB, free: 11.27 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006689/0.1995, allocations: 238.1 kB / 0.6513 GB, free: 11.04 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002264/0.2018, allocations: 0.8849 MB / 0.6522 GB, free: 10.15 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.203, allocations: 0.5713 MB / 0.6527 GB, free: 9.582 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00185/0.2049, allocations: 1.672 MB / 0.6544 GB, free: 7.91 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003491/0.2052, allocations: 203.3 kB / 0.6546 GB, free: 7.699 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007302/0.206, allocations: 0.681 MB / 0.6552 GB, free: 7.016 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000999/0.207, allocations: 0.9183 MB / 0.6561 GB, free: 6.094 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002128/0.2072, allocations: 148 kB / 0.6563 GB, free: 5.949 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006547/0.2079, allocations: 319.8 kB / 0.6566 GB, free: 5.637 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002899/0.2082, allocations: 358.7 kB / 0.6569 GB, free: 5.285 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005703/0.2087, allocations: 0.6799 MB / 0.6576 GB, free: 4.602 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001724/0.2105, allocations: 1.693 MB / 0.6592 GB, free: 2.902 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2105, allocations: 0 / 0.6592 GB, free: 2.902 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2105, allocations: 4 kB / 0.6592 GB, free: 2.898 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.2105, allocations: 0 / 0.6592 GB, free: 2.898 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.01158/0.2221, allocations: 3.141 MB / 0.6623 GB, free: 15.7 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.2222, allocations: 8.031 kB / 0.6623 GB, free: 15.69 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002899/0.2251, allocations: 498.9 kB / 0.6628 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.2264, allocations: 0.8987 MB / 0.6637 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002828/0.2267, allocations: 230.2 kB / 0.6639 GB, free: 13.99 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.2269, allocations: 80 kB / 0.664 GB, free: 13.91 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/0.2288, allocations: 0.8887 MB / 0.6648 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.2288, allocations: 0 / 0.6648 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.623e-05/0.2289, allocations: 24 kB / 0.6649 GB, free: 13 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.2289, allocations: 16 kB / 0.6649 GB, free: 12.98 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002187/0.2311, allocations: 0.9967 MB / 0.6658 GB, free: 11.98 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.004668/0.2358, allocations: 2.922 MB / 0.6687 GB, free: 8.93 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002778/0.2386, allocations: 1.09 MB / 0.6698 GB, free: 7.836 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001311/0.2399, allocations: 0.6558 MB / 0.6704 GB, free: 7.176 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.273e-05/0.24, allocations: 20.98 kB / 0.6704 GB, free: 7.152 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.24, allocations: 51.48 kB / 0.6705 GB, free: 7.094 MB / 478.1 MB Notification: Performance of pre-optimization done (n=94): time 2.795e-06/0.2401, allocations: 0 / 0.6705 GB, free: 7.094 MB / 478.1 MB Notification: Performance of matching and sorting (n=94): time 0.02736/0.2674, allocations: 6.485 MB / 0.6768 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.511e-05/0.2675, allocations: 68.34 kB / 0.6769 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00243/0.27, allocations: 1.133 MB / 0.678 GB, free: 15.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002709/0.2703, allocations: 49.7 kB / 0.678 GB, free: 15.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004491/0.2707, allocations: 397.9 kB / 0.6784 GB, free: 14.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005218/0.2713, allocations: 359 kB / 0.6787 GB, free: 14.54 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000922/0.2722, allocations: 367.2 kB / 0.6791 GB, free: 14.17 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.2723, allocations: 309.1 kB / 0.6794 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00204/0.2744, allocations: 0.9058 MB / 0.6803 GB, free: 12.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002023/0.2764, allocations: 0.9351 MB / 0.6812 GB, free: 12.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003932/0.2804, allocations: 1.813 MB / 0.683 GB, free: 10.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/0.2804, allocations: 3.938 kB / 0.683 GB, free: 10.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007376/0.2878, allocations: 3.04 MB / 0.6859 GB, free: 7.152 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.2878, allocations: 13.41 kB / 0.6859 GB, free: 7.141 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.2878, allocations: 0 / 0.6859 GB, free: 7.141 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009217/0.2971, allocations: 2.272 MB / 0.6882 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001832/0.2989, allocations: 323.5 kB / 0.6885 GB, free: 4.551 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005666/0.3046, allocations: 2.259 MB / 0.6907 GB, free: 2.266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002514/0.3072, allocations: 198.5 kB / 0.6909 GB, free: 2.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000343/0.3075, allocations: 67.97 kB / 0.6909 GB, free: 2.004 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (189): * Single equations (assignments): 188 * 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 {(24,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0007972/0.3083, allocations: 246.1 kB / 0.6912 GB, free: 1.754 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000495/0.3088, allocations: 122.4 kB / 0.6913 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/0.3202, allocations: 3.301 MB / 0.6945 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.3203, allocations: 11.94 kB / 0.6945 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.3203, allocations: 0 / 0.6945 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.819e-05/0.3203, allocations: 3.984 kB / 0.6945 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/0.3223, allocations: 1.21 MB / 0.6957 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/0.3223, allocations: 4 kB / 0.6957 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007604/0.3231, allocations: 111.8 kB / 0.6958 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005442/0.3286, allocations: 1.439 MB / 0.6972 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001481/0.3287, allocations: 24 kB / 0.6972 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02103/0.3498, allocations: 7.827 MB / 0.7049 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.3498, allocations: 0 / 0.7049 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01355/0.3634, allocations: 4.135 MB / 0.7089 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006467/0.3641, allocations: 231.4 kB / 0.7091 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004399/0.3645, allocations: 16 kB / 0.7092 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/0.3661, allocations: 83.91 kB / 0.7092 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006334/0.3667, allocations: 176.8 kB / 0.7094 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/0.3668, allocations: 27.98 kB / 0.7094 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0015/0.3683, allocations: 0.7602 MB / 0.7102 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.295e-06/0.3683, allocations: 0 / 0.7102 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00185/0.3702, allocations: 443.8 kB / 0.7106 GB, free: 13.59 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.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 (62): * Single equations (assignments): 61 * 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 {(14,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004091/0.3706, allocations: 147.1 kB / 0.7107 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007415/0.3781, allocations: 2.371 MB / 0.7131 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.3781, allocations: 4 kB / 0.7131 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004249/0.3823, allocations: 1.309 MB / 0.7143 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.3835, allocations: 87.14 kB / 0.7144 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005295/0.3888, allocations: 2.459 MB / 0.7168 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008107/0.3897, allocations: 1.061 MB / 0.7179 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004673/0.3901, allocations: 75.42 kB / 0.7179 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of SimCode: time 6.51e-07/0.3902, allocations: 0 / 0.7179 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of Templates: time 0.03106/0.4212, allocations: 19.16 MB / 0.7366 GB, free: 2.816 MB / 0.5294 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & ./OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)