Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009717/0.0009717, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8817/0.8817, allocations: 177.1 MB / 200 MB, free: 3.789 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 158.6 kB / 256.6 MB, free: 144 kB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.3861/0.3861, allocations: 80.22 MB / 393.4 MB, free: 9.926 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 489.8 MB, free: 9.789 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.623e-05/1.786e-05, allocations: 2.312 kB / 489.8 MB, free: 9.785 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.004795/0.004812, allocations: 5.956 MB / 495.8 MB, free: 3.809 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002751/0.007563, allocations: 1.869 MB / 497.7 MB, free: 1.934 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003775/0.007941, allocations: 11.94 kB / 497.7 MB, free: 1.922 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003743/0.008315, allocations: 214.1 kB / 497.9 MB, free: 1.711 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001591/0.009906, allocations: 0.8231 MB / 498.7 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008126/0.01072, allocations: 0.5768 MB / 499.3 MB, free: 312 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1682/0.1789, allocations: 1.417 MB / 0.489 GB, free: 45.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003716/0.1793, allocations: 185.8 kB / 0.4891 GB, free: 45.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.1804, allocations: 0.8292 MB / 0.4899 GB, free: 44.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005965/0.181, allocations: 0.6125 MB / 0.4905 GB, free: 44.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001903/0.1812, allocations: 106.1 kB / 0.4906 GB, free: 44.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004328/0.1816, allocations: 252.8 kB / 0.4909 GB, free: 44.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.1818, allocations: 291.3 kB / 0.4912 GB, free: 44.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002591/0.182, allocations: 419.6 kB / 0.4916 GB, free: 44.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.183, allocations: 1.135 MB / 0.4927 GB, free: 44.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.183, allocations: 0 / 0.4927 GB, free: 44.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1831, allocations: 0.7188 kB / 0.4927 GB, free: 44.58 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.431e-05/0.1831, allocations: 0 / 0.4927 GB, free: 44.58 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.004278/0.1874, allocations: 2.582 MB / 0.4952 GB, free: 43.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.1874, allocations: 12.16 kB / 0.4952 GB, free: 43.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00251/0.1899, allocations: 0.8968 MB / 0.4961 GB, free: 43.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007026/0.1906, allocations: 0.7241 MB / 0.4968 GB, free: 43.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/0.1908, allocations: 361.3 kB / 0.4971 GB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.783e-05/0.1909, allocations: 78.62 kB / 0.4972 GB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009899/0.1918, allocations: 0.8236 MB / 0.498 GB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.1919, allocations: 6.562 kB / 0.498 GB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.722e-05/0.1919, allocations: 25.59 kB / 0.498 GB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.1919, allocations: 19 kB / 0.4981 GB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006723/0.1926, allocations: 460.2 kB / 0.4985 GB, free: 42.4 MB / 410.7 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.002927/0.1955, allocations: 2.602 MB / 0.501 GB, free: 40.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002373/0.1979, allocations: 1.178 MB / 0.5022 GB, free: 40.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003739/0.1983, allocations: 308.8 kB / 0.5025 GB, free: 40.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.421e-05/0.1984, allocations: 26.3 kB / 0.5025 GB, free: 40.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.1984, allocations: 45.14 kB / 0.5026 GB, free: 40.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=92): time 2.434e-06/0.1984, allocations: 0 / 0.5026 GB, free: 40.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=92): time 0.0107/0.2091, allocations: 4.802 MB / 0.5072 GB, free: 40.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.2091, allocations: 99.2 kB / 0.5073 GB, free: 40.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000606/0.2097, allocations: 0.8975 MB / 0.5082 GB, free: 39.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.978e-05/0.2098, allocations: 42.95 kB / 0.5083 GB, free: 39.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.21, allocations: 0.517 MB / 0.5088 GB, free: 39.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/0.2101, allocations: 324 kB / 0.5091 GB, free: 39.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002509/0.2104, allocations: 254.4 kB / 0.5093 GB, free: 38.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.93e-05/0.2105, allocations: 0.5266 MB / 0.5098 GB, free: 38.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004419/0.2109, allocations: 348.2 kB / 0.5102 GB, free: 38.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005312/0.2114, allocations: 0.5698 MB / 0.5107 GB, free: 38.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/0.2129, allocations: 1.396 MB / 0.5121 GB, free: 37.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.2129, allocations: 7.938 kB / 0.5121 GB, free: 37.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004866/0.2178, allocations: 2.82 MB / 0.5148 GB, free: 37.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.2178, allocations: 5.844 kB / 0.5148 GB, free: 37.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.2178, allocations: 5.656 kB / 0.5149 GB, free: 37.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00427/0.2221, allocations: 1.56 MB / 0.5164 GB, free: 37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006161/0.2227, allocations: 234.3 kB / 0.5166 GB, free: 37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006797/0.2295, allocations: 4.291 MB / 0.5208 GB, free: 34.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007659/0.2303, allocations: 144.7 kB / 0.5209 GB, free: 34.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.689e-05/0.2303, allocations: 52.16 kB / 0.521 GB, free: 34.25 MB / 410.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vf,aVRTypeII.vr2,aVRTypeII.vr1,aVRTypeII.vm) * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 138 * 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): 1 system {(20,11,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003465/0.2307, allocations: 241.4 kB / 0.5212 GB, free: 34.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005267/0.2312, allocations: 321.6 kB / 0.5215 GB, free: 33.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004968/0.2362, allocations: 2.358 MB / 0.5238 GB, free: 33.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.2362, allocations: 11.08 kB / 0.5238 GB, free: 33.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/0.2362, allocations: 10.03 kB / 0.5238 GB, free: 33.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.2362, allocations: 9.938 kB / 0.5238 GB, free: 33.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006626/0.2428, allocations: 3.335 MB / 0.5271 GB, free: 32.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.2428, allocations: 4.734 kB / 0.5271 GB, free: 32.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003168/0.2432, allocations: 112.9 kB / 0.5272 GB, free: 32.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004792/0.248, allocations: 1.612 MB / 0.5288 GB, free: 32.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.335e-05/0.248, allocations: 16.72 kB / 0.5288 GB, free: 32.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006723/0.2548, allocations: 8.518 MB / 0.5371 GB, free: 25.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2548, allocations: 0 / 0.5371 GB, free: 25.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005191/0.2599, allocations: 2.922 MB / 0.54 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001801/0.2601, allocations: 142.7 kB / 0.5401 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.877e-05/0.2602, allocations: 17.97 kB / 0.5401 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003966/0.2606, allocations: 69 kB / 0.5402 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003054/0.2609, allocations: 172.9 kB / 0.5404 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.314e-05/0.261, allocations: 24.59 kB / 0.5404 GB, free: 24.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004233/0.2614, allocations: 0.5698 MB / 0.5409 GB, free: 23.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2614, allocations: 0 / 0.5409 GB, free: 23.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009433/0.2623, allocations: 431.7 kB / 0.5414 GB, free: 23.14 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vm,aVRTypeII.vr1,aVRTypeII.vr2,aVRTypeII.vf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002183/0.2626, allocations: 143.6 kB / 0.5415 GB, free: 23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002236/0.2648, allocations: 1.548 MB / 0.543 GB, free: 21.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2648, allocations: 0 / 0.543 GB, free: 21.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001366/0.2662, allocations: 0.9842 MB / 0.544 GB, free: 20.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006897/0.2668, allocations: 398 kB / 0.5443 GB, free: 20.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.2692, allocations: 1.884 MB / 0.5462 GB, free: 18.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.2694, allocations: 225.1 kB / 0.5464 GB, free: 17.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001706/0.2695, allocations: 103.5 kB / 0.5465 GB, free: 17.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.2697, allocations: 68.48 kB / 0.5466 GB, free: 17.76 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.2697, allocations: 0 / 0.5466 GB, free: 17.76 MB / 410.7 MB Notification: Performance of Templates: time 0.02406/0.2937, allocations: 25.23 MB / 0.5712 GB, free: 8.75 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.175382175017148]