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.08524/0.08524, allocations: 12.6 MB / 28.9 MB, free: 0.6328 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.001147/0.001147, allocations: 107.5 kB / 32.5 MB, free: 3.57 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.483/1.483, allocations: 205.1 MB / 241.1 MB, free: 12.38 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.001506/0.001506, allocations: 195.4 kB / 291.4 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4889/0.4889, allocations: 78.51 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.002647/0.002647, allocations: 146.4 kB / 0.5565 GB, free: 28.55 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1636, allocations: 68.12 MB / 0.623 GB, free: 15.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.007044/0.1707, allocations: 6.187 MB / 0.6291 GB, free: 9.262 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004547/0.1753, allocations: 2.173 MB / 0.6312 GB, free: 7.082 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007423/0.1761, allocations: 8 kB / 0.6312 GB, free: 7.074 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006216/0.1767, allocations: 242.1 kB / 0.6314 GB, free: 6.836 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002888/0.1796, allocations: 1.169 MB / 0.6326 GB, free: 5.672 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.1807, allocations: 491 kB / 0.633 GB, free: 5.195 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002113/0.1828, allocations: 1.833 MB / 0.6348 GB, free: 3.359 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000374/0.1832, allocations: 215.3 kB / 0.635 GB, free: 3.133 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008515/0.1841, allocations: 0.7123 MB / 0.6357 GB, free: 2.418 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/0.1852, allocations: 0.9573 MB / 0.6367 GB, free: 1.457 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002125/0.1855, allocations: 144 kB / 0.6368 GB, free: 1.316 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006145/0.1861, allocations: 319.8 kB / 0.6371 GB, free: 1.004 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003049/0.1864, allocations: 374.6 kB / 0.6375 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005751/0.187, allocations: 0.6878 MB / 0.6381 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001761/0.1887, allocations: 1.717 MB / 0.6398 GB, free: 14.22 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.096e-05/0.1888, allocations: 4 kB / 0.6398 GB, free: 14.22 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1888, allocations: 7.938 kB / 0.6398 GB, free: 14.21 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.1888, allocations: 0 / 0.6398 GB, free: 14.21 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.01476/0.2036, allocations: 3.711 MB / 0.6434 GB, free: 10.45 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.2036, allocations: 11.98 kB / 0.6435 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003033/0.2067, allocations: 0.495 MB / 0.6439 GB, free: 9.938 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.2081, allocations: 0.8949 MB / 0.6448 GB, free: 8.988 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002951/0.2084, allocations: 226.2 kB / 0.645 GB, free: 8.734 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/0.2086, allocations: 83.94 kB / 0.6451 GB, free: 8.652 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/0.2105, allocations: 0.8887 MB / 0.646 GB, free: 7.758 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.2105, allocations: 0 / 0.646 GB, free: 7.758 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.079e-05/0.2106, allocations: 27.98 kB / 0.646 GB, free: 7.73 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.2107, allocations: 16 kB / 0.646 GB, free: 7.715 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002196/0.2129, allocations: 0.9811 MB / 0.647 GB, free: 6.734 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.00492/0.2178, allocations: 2.919 MB / 0.6498 GB, free: 3.684 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002853/0.2207, allocations: 1.097 MB / 0.6509 GB, free: 2.578 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001416/0.2221, allocations: 0.6636 MB / 0.6515 GB, free: 1.91 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.536e-05/0.2222, allocations: 20.98 kB / 0.6516 GB, free: 1.887 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.2222, allocations: 39.56 kB / 0.6516 GB, free: 1.84 MB / 462.1 MB Notification: Performance of pre-optimization done (n=94): time 3.296e-06/0.2222, allocations: 0 / 0.6516 GB, free: 1.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=94): time 0.02719/0.2494, allocations: 6.485 MB / 0.6579 GB, free: 11.32 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.2495, allocations: 68.41 kB / 0.658 GB, free: 11.24 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00226/0.2518, allocations: 1.133 MB / 0.6591 GB, free: 10.09 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002919/0.2521, allocations: 49.7 kB / 0.6592 GB, free: 10.03 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004538/0.2526, allocations: 393.9 kB / 0.6595 GB, free: 9.641 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005276/0.2531, allocations: 363 kB / 0.6599 GB, free: 9.281 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001026/0.2542, allocations: 363.2 kB / 0.6602 GB, free: 8.918 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.2543, allocations: 305.1 kB / 0.6605 GB, free: 8.617 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002059/0.2564, allocations: 0.9213 MB / 0.6614 GB, free: 7.695 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002058/0.2584, allocations: 0.9312 MB / 0.6623 GB, free: 6.766 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003941/0.2624, allocations: 1.809 MB / 0.6641 GB, free: 4.957 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/0.2624, allocations: 3.938 kB / 0.6641 GB, free: 4.953 MB / 478.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007419/0.2698, allocations: 3.048 MB / 0.6671 GB, free: 1.891 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.2699, allocations: 8 kB / 0.6671 GB, free: 1.883 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.2699, allocations: 0 / 0.6671 GB, free: 1.883 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009214/0.2791, allocations: 2.268 MB / 0.6693 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001863/0.281, allocations: 323.6 kB / 0.6696 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005607/0.2867, allocations: 2.272 MB / 0.6718 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002345/0.289, allocations: 198.5 kB / 0.672 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003311/0.2894, allocations: 63.98 kB / 0.6721 GB, free: 12.74 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.000751/0.2902, allocations: 241.6 kB / 0.6723 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004636/0.2906, allocations: 122.4 kB / 0.6724 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01124/0.3019, allocations: 3.301 MB / 0.6756 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.007e-05/0.302, allocations: 11.94 kB / 0.6756 GB, free: 9.055 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.302, allocations: 0 / 0.6756 GB, free: 9.055 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.027e-05/0.302, allocations: 3.984 kB / 0.6757 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/0.3042, allocations: 1.214 MB / 0.6768 GB, free: 7.785 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/0.3042, allocations: 4 kB / 0.6768 GB, free: 7.781 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007633/0.305, allocations: 107.9 kB / 0.6769 GB, free: 7.676 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00563/0.3106, allocations: 1.446 MB / 0.6784 GB, free: 6.227 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001782/0.3108, allocations: 24 kB / 0.6784 GB, free: 6.203 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02204/0.3329, allocations: 7.811 MB / 0.686 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.3329, allocations: 0 / 0.686 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01326/0.3462, allocations: 4.131 MB / 0.69 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008655/0.3471, allocations: 235.4 kB / 0.6903 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005781/0.3477, allocations: 16 kB / 0.6903 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001691/0.3494, allocations: 79.91 kB / 0.6904 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007525/0.3502, allocations: 180.8 kB / 0.6905 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001364/0.3504, allocations: 28.09 kB / 0.6906 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001725/0.3521, allocations: 0.7641 MB / 0.6913 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3521, allocations: 0 / 0.6913 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002367/0.3545, allocations: 439.8 kB / 0.6917 GB, free: 8.332 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.00048/0.355, allocations: 131.2 kB / 0.6918 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008625/0.3637, allocations: 2.39 MB / 0.6942 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.3637, allocations: 0 / 0.6942 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004639/0.3683, allocations: 1.306 MB / 0.6955 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/0.3701, allocations: 94.47 kB / 0.6955 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006114/0.3762, allocations: 2.458 MB / 0.6979 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000848/0.3771, allocations: 1.061 MB / 0.699 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005136/0.3776, allocations: 79.36 kB / 0.6991 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of SimCode: time 1.462e-06/0.3776, allocations: 4 kB / 0.6991 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of Templates: time 0.364/0.7417, allocations: 19.14 MB / 0.7178 GB, free: 85.26 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)