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.0009039/0.0009039, allocations: 80.88 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 1.001/1.001, allocations: 177.2 MB / 200.3 MB, free: 5.68 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.001304/0.001304, allocations: 156.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.4515/0.4515, allocations: 80.23 MB / 340.5 MB, free: 9.582 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.322e-06/1.322e-06, allocations: 0 / 383.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.188e-05, allocations: 2.312 kB / 383.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT): time 0.008926/0.008948, allocations: 12.89 MB / 396.7 MB, free: 1.688 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008131/0.01708, allocations: 4.238 MB / 400.9 MB, free: 13.43 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001945/0.01902, allocations: 27.94 kB / 401 MB, free: 13.41 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001619/0.02064, allocations: 0.6859 MB / 401.7 MB, free: 12.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00422/0.02486, allocations: 1.789 MB / 403.4 MB, free: 10.92 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002091/0.02695, allocations: 1.255 MB / 404.7 MB, free: 9.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005012/0.03197, allocations: 4.209 MB / 408.9 MB, free: 5.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001188/0.03315, allocations: 0.5296 MB / 409.4 MB, free: 4.844 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004006/0.03716, allocations: 2.357 MB / 411.8 MB, free: 2.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002377/0.03954, allocations: 1.729 MB / 413.5 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009508/0.04049, allocations: 372 kB / 413.9 MB, free: 392 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.04163, allocations: 0.5349 MB / 414.4 MB, free: 15.85 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007606/0.04239, allocations: 0.8597 MB / 415.3 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00193/0.04432, allocations: 1.203 MB / 416.5 MB, free: 13.78 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004029/0.04835, allocations: 2.973 MB / 419.5 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.04835, allocations: 0 / 419.5 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.04836, allocations: 0 / 419.5 MB, free: 10.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001379/0.04849, allocations: 0 / 419.5 MB, free: 10.79 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.01061/0.0591, allocations: 5.859 MB / 425.3 MB, free: 4.879 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.05914, allocations: 16.03 kB / 425.3 MB, free: 4.863 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008123/0.06726, allocations: 2.52 MB / 427.8 MB, free: 2.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002631/0.0699, allocations: 1.223 MB / 429.1 MB, free: 1.059 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003083/0.0702, allocations: 486.6 kB / 429.5 MB, free: 0.5156 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003173/0.07052, allocations: 195.9 kB / 429.7 MB, free: 332 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002489/0.07301, allocations: 1.28 MB / 431 MB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.07304, allocations: 0 / 431 MB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/0.07316, allocations: 72 kB / 431.1 MB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/0.07319, allocations: 40 kB / 431.1 MB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.07423, allocations: 0.6761 MB / 431.8 MB, free: 14.24 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.007929/0.08216, allocations: 4.46 MB / 436.3 MB, free: 9.672 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002894/0.08506, allocations: 1.557 MB / 437.8 MB, free: 8.105 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006443/0.0857, allocations: 0.4899 MB / 438.3 MB, free: 7.617 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001639/0.08586, allocations: 49.92 kB / 438.4 MB, free: 7.566 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.0859, allocations: 64.5 kB / 438.4 MB, free: 7.496 MB / 410.7 MB Notification: Performance of pre-optimization done (n=223): time 3.778e-06/0.08591, allocations: 0 / 438.4 MB, free: 7.496 MB / 410.7 MB Notification: Performance of matching and sorting (n=223): time 0.2231/0.309, allocations: 14.84 MB / 453.3 MB, free: 63.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.3091, allocations: 75.62 kB / 453.3 MB, free: 63.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002158/0.3112, allocations: 2.026 MB / 455.4 MB, free: 62.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003921/0.3116, allocations: 68.05 kB / 455.4 MB, free: 62.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004059/0.312, allocations: 0.767 MB / 456.2 MB, free: 62.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006936/0.3127, allocations: 0.8513 MB / 457.1 MB, free: 62.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008926/0.3136, allocations: 0.5591 MB / 457.6 MB, free: 62.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.074e-05/0.3136, allocations: 305.1 kB / 457.9 MB, free: 61.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/0.315, allocations: 0.6457 MB / 458.6 MB, free: 61.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/0.3165, allocations: 1.005 MB / 459.6 MB, free: 61.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004421/0.321, allocations: 2.909 MB / 462.5 MB, free: 60.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.642e-05/0.321, allocations: 4 kB / 462.5 MB, free: 60.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.008265/0.3292, allocations: 4.021 MB / 466.5 MB, free: 56.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.354e-05/0.3293, allocations: 8 kB / 466.5 MB, free: 56.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.3293, allocations: 8 kB / 466.5 MB, free: 56.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007295/0.3366, allocations: 2.881 MB / 469.4 MB, free: 53.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003974/0.3406, allocations: 1.381 MB / 470.8 MB, free: 52.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00922/0.3498, allocations: 10.19 MB / 481 MB, free: 42.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002529/0.3523, allocations: 338.8 kB / 481.3 MB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003486/0.3527, allocations: 87.95 kB / 481.4 MB, free: 41.74 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.0009403/0.3536, allocations: 286.8 kB / 481.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004986/0.3541, allocations: 243.8 kB / 481.9 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008207/0.3623, allocations: 4.786 MB / 486.7 MB, free: 36.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.3623, allocations: 20 kB / 486.7 MB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.3623, allocations: 0 / 486.7 MB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.873e-05/0.3623, allocations: 12.83 kB / 486.7 MB, free: 36.38 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.01124/0.3736, allocations: 6.03 MB / 492.7 MB, free: 30.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/0.3736, allocations: 0 / 492.7 MB, free: 30.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009095/0.3745, allocations: 239.7 kB / 493 MB, free: 30.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01004/0.3845, allocations: 4.578 MB / 497.6 MB, free: 25.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004359/0.385, allocations: 40 kB / 497.6 MB, free: 25.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01105/0.396, allocations: 7.03 MB / 0.4928 GB, free: 18.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.396, allocations: 0 / 0.4928 GB, free: 18.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009767/0.4058, allocations: 5.276 MB / 0.498 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009858/0.4068, allocations: 282.7 kB / 0.4982 GB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005575/0.4073, allocations: 47.94 kB / 0.4983 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/0.4086, allocations: 136.4 kB / 0.4984 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008743/0.4095, allocations: 374.2 kB / 0.4988 GB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.4096, allocations: 35.98 kB / 0.4988 GB, free: 12.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001093/0.4107, allocations: 1.108 MB / 0.4999 GB, free: 11.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4107, allocations: 3.938 kB / 0.4999 GB, free: 11.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002491/0.4132, allocations: 1.076 MB / 0.5009 GB, free: 10.11 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.0002952/0.4134, allocations: 155 kB / 0.5011 GB, free: 9.953 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004782/0.4182, allocations: 3.239 MB / 0.5042 GB, free: 6.629 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-05/0.4183, allocations: 24.12 kB / 0.5043 GB, free: 6.605 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003579/0.4218, allocations: 2.22 MB / 0.5064 GB, free: 4.379 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/0.4234, allocations: 243.8 kB / 0.5067 GB, free: 4.141 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006248/0.4297, allocations: 4.603 MB / 0.5112 GB, free: 15.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005036/0.4302, allocations: 0.497 MB / 0.5116 GB, free: 15.02 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009076/0.4311, allocations: 249.3 kB / 0.5119 GB, free: 14.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008098/0.4319, allocations: 331.3 kB / 0.5122 GB, free: 14.46 MB / 426.7 MB Notification: Performance of SimCode: time 1.693e-06/0.4319, allocations: 1.203 kB / 0.5122 GB, free: 14.46 MB / 426.7 MB Notification: Performance of Templates: time 0.07185/0.5037, allocations: 60.13 MB / 0.5709 GB, free: 2.762 MB / 474.7 MB " [Timeout remaining time 659] 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.176774255931377]