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.00146/0.00146, allocations: 110.8 kB / 16.41 MB, free: 6.48 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.499/1.499, allocations: 222.9 MB / 240.1 MB, free: 4.559 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.001839/0.001839, allocations: 187.4 kB / 290.4 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5742/0.5742, allocations: 91.9 MB / 432.4 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 80.75 kB / 0.5734 GB, free: 33.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1879, allocations: 71.29 MB / 0.643 GB, free: 3.633 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.008005/0.196, allocations: 6.194 MB / 0.649 GB, free: 13.4 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004843/0.2009, allocations: 2.11 MB / 0.6511 GB, free: 11.29 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006146/0.2015, allocations: 12 kB / 0.6511 GB, free: 11.28 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005912/0.2021, allocations: 234.1 kB / 0.6513 GB, free: 11.05 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002172/0.2043, allocations: 0.8888 MB / 0.6522 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.2055, allocations: 0.5624 MB / 0.6527 GB, free: 9.598 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001721/0.2072, allocations: 1.676 MB / 0.6544 GB, free: 7.918 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003436/0.2076, allocations: 211.3 kB / 0.6546 GB, free: 7.699 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006716/0.2083, allocations: 0.6732 MB / 0.6552 GB, free: 7.023 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001011/0.2093, allocations: 0.9184 MB / 0.6561 GB, free: 6.102 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002136/0.2095, allocations: 144 kB / 0.6563 GB, free: 5.961 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005913/0.2101, allocations: 323.8 kB / 0.6566 GB, free: 5.645 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003097/0.2104, allocations: 358.7 kB / 0.6569 GB, free: 5.293 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005853/0.211, allocations: 0.6838 MB / 0.6576 GB, free: 4.605 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001683/0.2127, allocations: 1.697 MB / 0.6592 GB, free: 2.902 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2127, allocations: 4 kB / 0.6592 GB, free: 2.898 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2127, allocations: 0 / 0.6592 GB, free: 2.898 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.882e-05/0.2128, 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.01233/0.2251, allocations: 3.138 MB / 0.6623 GB, free: 15.7 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.117e-05/0.2252, allocations: 12.03 kB / 0.6623 GB, free: 15.69 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002995/0.2282, allocations: 498.9 kB / 0.6628 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.2297, allocations: 0.8987 MB / 0.6637 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003042/0.23, allocations: 230.2 kB / 0.6639 GB, free: 13.99 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.2302, allocations: 80 kB / 0.664 GB, free: 13.91 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/0.2321, allocations: 0.8926 MB / 0.6648 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.2321, allocations: 0 / 0.6648 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.585e-05/0.2322, allocations: 24 kB / 0.6649 GB, free: 12.99 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.2322, allocations: 12 kB / 0.6649 GB, free: 12.98 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002225/0.2345, allocations: 0.9967 MB / 0.6659 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.004903/0.2394, allocations: 2.919 MB / 0.6687 GB, free: 8.934 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00322/0.2426, allocations: 1.094 MB / 0.6698 GB, free: 7.836 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002048/0.2447, allocations: 0.6597 MB / 0.6704 GB, free: 7.172 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/0.2448, allocations: 16.97 kB / 0.6704 GB, free: 7.152 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/0.2449, allocations: 43.56 kB / 0.6705 GB, free: 7.102 MB / 478.1 MB Notification: Performance of pre-optimization done (n=94): time 6.402e-06/0.2449, allocations: 0 / 0.6705 GB, free: 7.102 MB / 478.1 MB Notification: Performance of matching and sorting (n=94): time 0.02725/0.2721, allocations: 6.497 MB / 0.6768 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.136e-05/0.2723, allocations: 60.41 kB / 0.6769 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001981/0.2743, allocations: 1.137 MB / 0.678 GB, free: 15.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003173/0.2746, allocations: 45.7 kB / 0.678 GB, free: 15.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/0.2749, allocations: 397.8 kB / 0.6784 GB, free: 14.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004582/0.2754, allocations: 363 kB / 0.6788 GB, free: 14.54 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006444/0.276, allocations: 363.2 kB / 0.6791 GB, free: 14.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.2762, allocations: 309.1 kB / 0.6794 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001899/0.2781, allocations: 0.9058 MB / 0.6803 GB, free: 12.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001858/0.28, allocations: 0.9312 MB / 0.6812 GB, free: 12.03 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003556/0.2835, allocations: 1.813 MB / 0.683 GB, free: 10.22 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.2835, allocations: 0 / 0.683 GB, free: 10.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.006958/0.2905, allocations: 3.048 MB / 0.6859 GB, free: 7.156 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.2906, allocations: 8 kB / 0.6859 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.2906, allocations: 0 / 0.6859 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008826/0.2994, allocations: 2.276 MB / 0.6882 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/0.3012, allocations: 323.5 kB / 0.6885 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005079/0.3062, allocations: 2.261 MB / 0.6907 GB, free: 2.266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/0.3084, allocations: 198.5 kB / 0.6909 GB, free: 2.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.3086, allocations: 63.97 kB / 0.6909 GB, free: 2.008 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.0005108/0.3091, allocations: 250.1 kB / 0.6912 GB, free: 1.754 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002235/0.3093, allocations: 118.4 kB / 0.6913 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/0.3196, allocations: 3.301 MB / 0.6945 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.3197, allocations: 11.94 kB / 0.6945 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.3197, allocations: 0 / 0.6945 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.3197, allocations: 7.984 kB / 0.6945 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.3214, allocations: 1.21 MB / 0.6957 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.291e-06/0.3214, allocations: 4 kB / 0.6957 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006843/0.3221, allocations: 107.8 kB / 0.6958 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004975/0.3271, allocations: 1.446 MB / 0.6972 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.422e-05/0.3272, allocations: 20 kB / 0.6972 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01799/0.3452, allocations: 7.823 MB / 0.7049 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3452, allocations: 0 / 0.7049 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01188/0.3571, allocations: 4.135 MB / 0.7089 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006615/0.3578, allocations: 231.4 kB / 0.7091 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.358, allocations: 20 kB / 0.7092 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.3592, allocations: 87.91 kB / 0.7092 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005166/0.3597, allocations: 172.8 kB / 0.7094 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.648e-05/0.3598, allocations: 23.98 kB / 0.7094 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001109/0.3609, allocations: 0.7602 MB / 0.7102 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3609, allocations: 0 / 0.7102 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001475/0.3624, allocations: 439.8 kB / 0.7106 GB, free: 13.6 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.0003821/0.3628, allocations: 151 kB / 0.7107 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006634/0.3694, allocations: 2.375 MB / 0.7131 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.3695, allocations: 4 kB / 0.7131 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003993/0.3735, allocations: 1.306 MB / 0.7143 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.3747, allocations: 93.53 kB / 0.7144 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005696/0.3804, allocations: 2.456 MB / 0.7168 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009587/0.3814, allocations: 1.057 MB / 0.7179 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005132/0.3819, allocations: 79.42 kB / 0.7179 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of SimCode: time 1.864e-06/0.3819, allocations: 0 / 0.7179 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of Templates: time 0.03176/0.4137, allocations: 19.16 MB / 0.7366 GB, free: 2.82 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)