Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_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.Aggregated_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1273/0.1273, allocations: 12.59 MB / 28.22 MB, free: 0.7539 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.001527/0.001527, allocations: 111.4 kB / 31.84 MB, free: 3.883 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.308/1.308, allocations: 205.1 MB / 240.4 MB, free: 12.37 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.001392/0.001392, allocations: 187.5 kB / 290.7 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4365/0.4365, allocations: 78.51 MB / 419.3 MB, free: 11.23 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.002556/0.002556, allocations: 138.1 kB / 0.5558 GB, free: 28.68 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.113, allocations: 68.13 MB / 0.6224 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.006227/0.1192, allocations: 6.187 MB / 0.6284 GB, free: 9.246 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003552/0.1228, allocations: 2.173 MB / 0.6305 GB, free: 7.066 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003507/0.1232, allocations: 8 kB / 0.6305 GB, free: 7.059 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004614/0.1237, allocations: 242.1 kB / 0.6308 GB, free: 6.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002446/0.1261, allocations: 1.201 MB / 0.6319 GB, free: 5.625 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008653/0.127, allocations: 486.3 kB / 0.6324 GB, free: 5.156 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001785/0.1288, allocations: 1.837 MB / 0.6342 GB, free: 3.316 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003231/0.1291, allocations: 207.3 kB / 0.6344 GB, free: 3.098 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008519/0.13, allocations: 0.7162 MB / 0.6351 GB, free: 2.379 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009755/0.131, allocations: 0.9612 MB / 0.636 GB, free: 1.414 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001916/0.1312, allocations: 144 kB / 0.6362 GB, free: 1.273 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005453/0.1317, allocations: 315.8 kB / 0.6365 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003579/0.1321, allocations: 386.6 kB / 0.6368 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006096/0.1327, allocations: 0.6878 MB / 0.6375 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001689/0.1344, allocations: 1.721 MB / 0.6392 GB, free: 14.17 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1344, allocations: 0 / 0.6392 GB, free: 14.17 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1344, allocations: 0 / 0.6392 GB, free: 14.17 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.1345, allocations: 0 / 0.6392 GB, free: 14.17 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.01564/0.1501, allocations: 3.711 MB / 0.6428 GB, free: 10.4 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1501, allocations: 11.98 kB / 0.6428 GB, free: 10.39 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003123/0.1533, allocations: 0.4949 MB / 0.6433 GB, free: 9.895 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.1546, allocations: 0.8948 MB / 0.6442 GB, free: 8.945 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002807/0.1549, allocations: 234.2 kB / 0.6444 GB, free: 8.684 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/0.1551, allocations: 83.98 kB / 0.6445 GB, free: 8.602 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002061/0.1572, allocations: 0.8809 MB / 0.6453 GB, free: 7.715 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.1572, allocations: 4 kB / 0.6453 GB, free: 7.711 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.144e-05/0.1573, allocations: 28 kB / 0.6454 GB, free: 7.684 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.1573, allocations: 12 kB / 0.6454 GB, free: 7.672 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002386/0.1597, allocations: 0.9928 MB / 0.6464 GB, free: 6.68 MB / 462.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.004845/0.1646, allocations: 2.919 MB / 0.6492 GB, free: 3.629 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002973/0.1675, allocations: 1.097 MB / 0.6503 GB, free: 2.523 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001423/0.169, allocations: 0.6675 MB / 0.6509 GB, free: 1.852 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.796e-05/0.1691, allocations: 12.98 kB / 0.6509 GB, free: 1.836 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.1691, allocations: 43.56 kB / 0.651 GB, free: 1.785 MB / 462.1 MB Notification: Performance of pre-optimization done (n=94): time 2.424e-06/0.1691, allocations: 0 / 0.651 GB, free: 1.785 MB / 462.1 MB Notification: Performance of matching and sorting (n=94): time 0.02827/0.1974, allocations: 6.481 MB / 0.6573 GB, free: 11.27 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.1975, allocations: 60.41 kB / 0.6574 GB, free: 11.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001712/0.1992, allocations: 1.137 MB / 0.6585 GB, free: 10.04 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002174/0.1994, allocations: 53.7 kB / 0.6585 GB, free: 9.98 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002937/0.1997, allocations: 393.9 kB / 0.6589 GB, free: 9.59 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003639/0.2001, allocations: 362.9 kB / 0.6592 GB, free: 9.23 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006319/0.2007, allocations: 367.2 kB / 0.6596 GB, free: 8.863 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.2009, allocations: 305.1 kB / 0.6599 GB, free: 8.562 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002005/0.2029, allocations: 0.9058 MB / 0.6608 GB, free: 7.656 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001977/0.2049, allocations: 0.9351 MB / 0.6617 GB, free: 6.723 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003712/0.2086, allocations: 1.809 MB / 0.6635 GB, free: 4.914 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.2086, allocations: 3.984 kB / 0.6635 GB, free: 4.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007206/0.2158, allocations: 3.04 MB / 0.6664 GB, free: 1.855 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.2159, allocations: 15.92 kB / 0.6664 GB, free: 1.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.669e-06/0.2159, allocations: 0 / 0.6664 GB, free: 1.84 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009451/0.2253, allocations: 2.268 MB / 0.6687 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/0.2271, allocations: 319.6 kB / 0.669 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005349/0.2325, allocations: 2.284 MB / 0.6712 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002024/0.2345, allocations: 194.5 kB / 0.6714 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/0.2347, allocations: 63.98 kB / 0.6714 GB, free: 12.7 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.0004396/0.2351, allocations: 241.6 kB / 0.6717 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002118/0.2353, allocations: 122.4 kB / 0.6718 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01124/0.2466, allocations: 3.297 MB / 0.675 GB, free: 9.023 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.2466, allocations: 11.94 kB / 0.675 GB, free: 9.012 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2466, allocations: 0 / 0.675 GB, free: 9.012 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.2467, allocations: 7.984 kB / 0.675 GB, free: 9.004 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.2481, allocations: 1.222 MB / 0.6762 GB, free: 7.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.2481, allocations: 0 / 0.6762 GB, free: 7.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006989/0.2488, allocations: 107.9 kB / 0.6763 GB, free: 7.625 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005493/0.2543, allocations: 1.442 MB / 0.6777 GB, free: 6.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.47e-05/0.2544, allocations: 23.98 kB / 0.6778 GB, free: 6.156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01926/0.2737, allocations: 7.811 MB / 0.6854 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2737, allocations: 0 / 0.6854 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01275/0.2865, allocations: 4.127 MB / 0.6894 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000392/0.2869, allocations: 235.4 kB / 0.6896 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/0.2871, allocations: 16 kB / 0.6897 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/0.2883, allocations: 91.91 kB / 0.6897 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005029/0.2889, allocations: 172.8 kB / 0.6899 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-05/0.2889, allocations: 20 kB / 0.6899 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001012/0.29, allocations: 0.7641 MB / 0.6907 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.673e-06/0.29, allocations: 4.109 kB / 0.6907 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001095/0.2911, allocations: 443.8 kB / 0.6911 GB, free: 8.289 MB / 0.4981 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.0002707/0.2913, allocations: 139.1 kB / 0.6912 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006857/0.2982, allocations: 2.375 MB / 0.6935 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.2982, allocations: 4 kB / 0.6936 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004203/0.3024, allocations: 1.306 MB / 0.6948 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008701/0.3033, allocations: 84.31 kB / 0.6949 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004517/0.3079, allocations: 2.437 MB / 0.6973 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006121/0.3085, allocations: 1.061 MB / 0.6983 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005877/0.3091, allocations: 107.6 kB / 0.6984 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003315/0.3094, allocations: 79.42 kB / 0.6985 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of SimCode: time 8.91e-07/0.3094, allocations: 0 / 0.6985 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of Templates: time 0.2762/0.5857, allocations: 23.98 MB / 0.7219 GB, free: 83.14 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)