Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.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.0007603/0.0007603, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.9344/0.9344, allocations: 177.2 MB / 200.3 MB, free: 5.672 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.00189/0.00189, allocations: 152.6 kB / 257 MB, free: 12.97 MB / 250.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.407/0.407, allocations: 80.24 MB / 340.5 MB, free: 9.633 MB / 314.7 MB " [Timeout remaining time 180] 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.TwoAreas.Two_Areas_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 383.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.315e-05, allocations: 2.312 kB / 383.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT): time 0.008939/0.008962, allocations: 12.83 MB / 396.6 MB, free: 1.82 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007714/0.01668, allocations: 4.246 MB / 400.9 MB, free: 13.56 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001842/0.01852, allocations: 20 kB / 400.9 MB, free: 13.54 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.01988, allocations: 0.6897 MB / 401.6 MB, free: 12.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003534/0.02341, allocations: 1.8 MB / 403.4 MB, free: 11.04 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.02527, allocations: 1.248 MB / 404.6 MB, free: 9.785 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003948/0.02921, allocations: 4.201 MB / 408.8 MB, free: 5.562 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007937/0.03001, allocations: 0.5335 MB / 409.3 MB, free: 4.973 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003029/0.03304, allocations: 2.365 MB / 411.7 MB, free: 2.602 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001816/0.03485, allocations: 1.737 MB / 413.4 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005069/0.03536, allocations: 372 kB / 413.8 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007593/0.03612, allocations: 0.5232 MB / 414.3 MB, free: 15.97 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004533/0.03657, allocations: 0.8519 MB / 415.2 MB, free: 15.12 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009124/0.03748, allocations: 1.203 MB / 416.4 MB, free: 13.91 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00258/0.04006, allocations: 2.973 MB / 419.4 MB, free: 10.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.04007, allocations: 0 / 419.4 MB, free: 10.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.04007, allocations: 0 / 419.4 MB, free: 10.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.524e-05/0.04011, allocations: 0 / 419.4 MB, free: 10.93 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 451 * Number of variables: 451 Notification: Performance of Generate backend data structure: time 0.009536/0.04964, allocations: 5.859 MB / 425.2 MB, free: 5.012 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.04968, allocations: 12.03 kB / 425.2 MB, free: 5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006869/0.05655, allocations: 2.528 MB / 427.8 MB, free: 2.469 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002636/0.05919, allocations: 1.227 MB / 429 MB, free: 1.184 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002901/0.05948, allocations: 482.6 kB / 429.5 MB, free: 0.6445 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003325/0.05981, allocations: 191.9 kB / 429.6 MB, free: 468 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.06138, allocations: 1.288 MB / 430.9 MB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.06141, allocations: 0 / 430.9 MB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003759/0.06178, allocations: 72 kB / 431 MB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.276e-05/0.06181, allocations: 40 kB / 431 MB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009821/0.06279, allocations: 0.6722 MB / 431.7 MB, free: 14.37 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.006845/0.06963, allocations: 4.464 MB / 436.2 MB, free: 9.797 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002584/0.07222, allocations: 1.553 MB / 437.7 MB, free: 8.234 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008219/0.07304, allocations: 497.7 kB / 438.2 MB, free: 7.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001596/0.0732, allocations: 45.98 kB / 438.3 MB, free: 7.703 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.07323, allocations: 68.5 kB / 438.3 MB, free: 7.629 MB / 410.7 MB Notification: Performance of pre-optimization done (n=223): time 3.837e-06/0.07324, allocations: 0 / 438.3 MB, free: 7.629 MB / 410.7 MB Notification: Performance of matching and sorting (n=223): time 0.2036/0.2769, allocations: 14.84 MB / 453.2 MB, free: 63.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.2769, allocations: 76.16 kB / 453.2 MB, free: 63.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/0.2787, allocations: 2.025 MB / 455.3 MB, free: 63.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002868/0.279, allocations: 70.64 kB / 455.3 MB, free: 62.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003428/0.2793, allocations: 0.7655 MB / 456.1 MB, free: 62.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005152/0.2798, allocations: 0.8471 MB / 457 MB, free: 62.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005662/0.2804, allocations: 0.5636 MB / 457.5 MB, free: 62.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.758e-05/0.2804, allocations: 305.1 kB / 457.8 MB, free: 62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009303/0.2813, allocations: 0.6394 MB / 458.5 MB, free: 61.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.2824, allocations: 1.008 MB / 459.5 MB, free: 61.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003067/0.2854, allocations: 2.909 MB / 462.4 MB, free: 60.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.418e-05/0.2855, allocations: 4 kB / 462.4 MB, free: 60.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.006366/0.2918, allocations: 4.016 MB / 466.4 MB, free: 56.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.2918, allocations: 8 kB / 466.4 MB, free: 56.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.2919, allocations: 13.06 kB / 466.4 MB, free: 56.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006552/0.2984, allocations: 2.892 MB / 469.3 MB, free: 53.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002987/0.3014, allocations: 1.132 MB / 470.4 MB, free: 52.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008117/0.3095, allocations: 10.06 MB / 480.5 MB, free: 42.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002345/0.3119, allocations: 335.4 kB / 480.8 MB, free: 42.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/0.3121, allocations: 83.95 kB / 480.9 MB, free: 42.3 MB / 410.7 MB Warning: Assuming fixed start value for the following 8 variables: g4.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real g3.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real g2.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real g1.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real g1.order6_1.delta:VARIABLE(flow=false start = g1.order6_1.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real g1.order6_1.e1d:VARIABLE(start = g1.order6_1.e1d0 unit = \"1\" fixed = true ) \"d-axis transient voltage\" type: Real g2.order6_1.delta:VARIABLE(flow=false start = g2.order6_1.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real g2.order6_1.e1d:VARIABLE(start = g2.order6_1.e1d0 unit = \"1\" fixed = true ) \"d-axis transient voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (341): * Single equations (assignments): 327 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 9 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,2,75.0%), (4,2,75.0%), (1,1,100.0%), (3,17,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0006888/0.3127, allocations: 296.8 kB / 481.2 MB, free: 42.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003891/0.3131, allocations: 247.7 kB / 481.4 MB, free: 41.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007426/0.3206, allocations: 4.775 MB / 486.2 MB, free: 36.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.3206, allocations: 20 kB / 486.2 MB, free: 36.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.3206, allocations: 0 / 486.2 MB, free: 36.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.559e-05/0.3206, allocations: 15.95 kB / 486.3 MB, free: 36.94 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 postOpt removeSimpleEquations (simulation): time 0.009882/0.3305, allocations: 6.033 MB / 492.3 MB, free: 30.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.3305, allocations: 1.078 kB / 492.3 MB, free: 30.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007479/0.3312, allocations: 216.9 kB / 492.5 MB, free: 30.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009844/0.3411, allocations: 4.578 MB / 497.1 MB, free: 26.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003973/0.3415, allocations: 51.94 kB / 497.1 MB, free: 26.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01026/0.3517, allocations: 6.923 MB / 0.4922 GB, free: 19.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3517, allocations: 4 kB / 0.4922 GB, free: 19.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008788/0.3605, allocations: 5.277 MB / 0.4974 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007347/0.3613, allocations: 287.1 kB / 0.4977 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002822/0.3615, allocations: 45.09 kB / 0.4977 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009852/0.3625, allocations: 136.1 kB / 0.4978 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006969/0.3632, allocations: 378.2 kB / 0.4982 GB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.403e-05/0.3633, allocations: 43.98 kB / 0.4982 GB, free: 12.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007589/0.3641, allocations: 1.108 MB / 0.4993 GB, free: 11.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3641, allocations: 0 / 0.4993 GB, free: 11.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001834/0.3659, allocations: 1.072 MB / 0.5004 GB, free: 10.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 24 (g1.order6_1.delta,g1.order6_1.w,g1.order6_1.e1q,g1.order6_1.e1d,g1.order6_1.e2q,g1.order6_1.e2d,g2.order6_1.delta,g2.order6_1.w,g2.order6_1.e1q,g2.order6_1.e1d,g2.order6_1.e2q,g2.order6_1.e2d,g3.order6_1.delta,g3.order6_1.w,g3.order6_1.e1q,g3.order6_1.e1d,g3.order6_1.e2q,g3.order6_1.e2d,g4.order6_1.delta,g4.order6_1.w,g4.order6_1.e1q,g4.order6_1.e1d,g4.order6_1.e2q,g4.order6_1.e2d) * 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 (136): * Single equations (assignments): 135 * 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 {(54,42)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002787/0.3662, allocations: 150.3 kB / 0.5005 GB, free: 10.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004256/0.3704, allocations: 3.233 MB / 0.5037 GB, free: 7.297 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.652e-05/0.3705, allocations: 28 kB / 0.5037 GB, free: 7.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003121/0.3736, allocations: 2.22 MB / 0.5059 GB, free: 5.039 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.3748, allocations: 250.2 kB / 0.5061 GB, free: 4.797 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005103/0.3799, allocations: 4.603 MB / 0.5106 GB, free: 200 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.3803, allocations: 0.5008 MB / 0.5111 GB, free: 15.67 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006502/0.381, allocations: 250.2 kB / 0.5113 GB, free: 15.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006315/0.3816, allocations: 327.3 kB / 0.5116 GB, free: 15.11 MB / 426.7 MB Notification: Performance of SimCode: time 1.332e-06/0.3816, allocations: 0 / 0.5116 GB, free: 15.11 MB / 426.7 MB Notification: Performance of Templates: time 0.06779/0.4494, allocations: 59.75 MB / 0.57 GB, free: 3.809 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.sim & ./OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.803152738604695]