Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.0015/0.0015, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.9553/0.9553, allocations: 177.2 MB / 200.3 MB, free: 5.363 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.001225/0.001225, allocations: 163.2 kB / 257 MB, free: 12.82 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.413/0.413, allocations: 83.31 MB / 343.6 MB, free: 6.688 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 387.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.273e-05, allocations: 5.266 kB / 388 MB, free: 10.71 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT): time 0.008744/0.008766, allocations: 12.92 MB / 400.9 MB, free: 13.74 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007013/0.01578, allocations: 4.267 MB / 405.1 MB, free: 9.461 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001548/0.01733, allocations: 24 kB / 405.2 MB, free: 9.438 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001331/0.01866, allocations: 0.6897 MB / 405.8 MB, free: 8.742 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003427/0.02209, allocations: 1.793 MB / 407.6 MB, free: 6.941 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.02402, allocations: 1.259 MB / 408.9 MB, free: 5.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003696/0.02772, allocations: 4.205 MB / 413.1 MB, free: 1.461 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007229/0.02844, allocations: 0.5374 MB / 413.6 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002735/0.03117, allocations: 2.353 MB / 416 MB, free: 14.51 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001604/0.03278, allocations: 1.741 MB / 417.7 MB, free: 12.76 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004805/0.03326, allocations: 368 kB / 418.1 MB, free: 12.4 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006983/0.03396, allocations: 0.5232 MB / 418.6 MB, free: 11.88 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004181/0.03437, allocations: 0.8636 MB / 419.5 MB, free: 11.01 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008663/0.03524, allocations: 1.207 MB / 420.7 MB, free: 9.801 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002718/0.03796, allocations: 2.969 MB / 423.7 MB, free: 6.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.03796, allocations: 3.984 kB / 423.7 MB, free: 6.816 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.03797, allocations: 0 / 423.7 MB, free: 6.816 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.262e-05/0.03801, allocations: 4 kB / 423.7 MB, free: 6.812 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.009217/0.04722, allocations: 5.859 MB / 429.5 MB, free: 0.8984 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.04726, allocations: 8.031 kB / 429.5 MB, free: 0.8906 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007423/0.05469, allocations: 2.516 MB / 432 MB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/0.05649, allocations: 1.223 MB / 433.3 MB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002575/0.05675, allocations: 486.6 kB / 433.7 MB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002369/0.05699, allocations: 203.9 kB / 433.9 MB, free: 12.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.05846, allocations: 1.28 MB / 435.2 MB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.05848, allocations: 4 kB / 435.2 MB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/0.0586, allocations: 68 kB / 435.3 MB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.163e-05/0.05862, allocations: 44 kB / 435.3 MB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009702/0.05959, allocations: 0.6722 MB / 436 MB, free: 10.26 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.006541/0.06613, allocations: 4.472 MB / 440.5 MB, free: 5.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002572/0.0687, allocations: 1.559 MB / 442 MB, free: 4.117 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005729/0.06928, allocations: 0.4938 MB / 442.5 MB, free: 3.617 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000157/0.06943, allocations: 45.98 kB / 442.6 MB, free: 3.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.06946, allocations: 52.56 kB / 442.6 MB, free: 3.512 MB / 410.7 MB Notification: Performance of pre-optimization done (n=223): time 4.389e-06/0.06947, allocations: 0 / 442.6 MB, free: 3.512 MB / 410.7 MB Notification: Performance of matching and sorting (n=223): time 0.1871/0.2565, allocations: 14.84 MB / 457.5 MB, free: 57.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.2566, allocations: 76.58 kB / 457.5 MB, free: 57.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/0.2582, allocations: 2.034 MB / 459.6 MB, free: 56.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002202/0.2584, allocations: 68.83 kB / 459.7 MB, free: 56.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003279/0.2588, allocations: 0.7634 MB / 460.4 MB, free: 56.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004863/0.2593, allocations: 0.8469 MB / 461.3 MB, free: 56.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005756/0.2598, allocations: 0.5594 MB / 461.8 MB, free: 56.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.117e-05/0.2599, allocations: 312.5 kB / 462.1 MB, free: 55.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009308/0.2608, allocations: 0.6387 MB / 462.8 MB, free: 55.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.2618, allocations: 1.002 MB / 463.8 MB, free: 55.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003004/0.2648, allocations: 2.915 MB / 466.7 MB, free: 52.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/0.2648, allocations: 4 kB / 466.7 MB, free: 52.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.006529/0.2713, allocations: 4.025 MB / 470.7 MB, free: 48.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.2714, allocations: 8 kB / 470.7 MB, free: 48.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.2714, allocations: 4 kB / 470.7 MB, free: 48.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007043/0.2784, allocations: 2.879 MB / 473.6 MB, free: 45.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003867/0.2823, allocations: 1.387 MB / 475 MB, free: 44.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008663/0.291, allocations: 10.18 MB / 485.2 MB, free: 34.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/0.2934, allocations: 339.7 kB / 485.5 MB, free: 34.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002931/0.2937, allocations: 83.95 kB / 485.6 MB, free: 33.97 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.0007844/0.2945, allocations: 289.8 kB / 485.9 MB, free: 33.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004657/0.295, allocations: 243.8 kB / 486.1 MB, free: 33.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008111/0.3031, allocations: 4.782 MB / 490.9 MB, free: 28.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.895e-05/0.3031, allocations: 25.25 kB / 490.9 MB, free: 28.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3031, allocations: 0 / 490.9 MB, free: 28.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-05/0.3031, allocations: 11.95 kB / 490.9 MB, free: 28.61 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.01098/0.3141, allocations: 6.032 MB / 497 MB, free: 22.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.3141, allocations: 0 / 497 MB, free: 22.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008112/0.3149, allocations: 239.6 kB / 497.2 MB, free: 22.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0103/0.3252, allocations: 4.578 MB / 0.49 GB, free: 17.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004421/0.3257, allocations: 40.77 kB / 0.49 GB, free: 17.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01141/0.3371, allocations: 7.027 MB / 0.4969 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3371, allocations: 4 kB / 0.4969 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009989/0.3471, allocations: 5.269 MB / 0.5021 GB, free: 5.332 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009116/0.348, allocations: 284.7 kB / 0.5023 GB, free: 5.082 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003977/0.3484, allocations: 44.81 kB / 0.5024 GB, free: 5.039 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.3495, allocations: 139.9 kB / 0.5025 GB, free: 4.902 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008798/0.3504, allocations: 370.2 kB / 0.5029 GB, free: 4.543 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.476e-05/0.3505, allocations: 39.98 kB / 0.5029 GB, free: 4.504 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009249/0.3514, allocations: 1.108 MB / 0.504 GB, free: 3.391 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.3514, allocations: 0 / 0.504 GB, free: 3.391 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00223/0.3536, allocations: 1.082 MB / 0.505 GB, free: 2.34 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.0003038/0.354, allocations: 150.9 kB / 0.5052 GB, free: 2.188 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00469/0.3586, allocations: 3.24 MB / 0.5083 GB, free: 14.86 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.983e-05/0.3587, allocations: 24 kB / 0.5084 GB, free: 14.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003465/0.3621, allocations: 2.22 MB / 0.5105 GB, free: 12.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.3633, allocations: 248.9 kB / 0.5108 GB, free: 12.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006203/0.3695, allocations: 4.58 MB / 0.5152 GB, free: 7.789 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/0.37, allocations: 0.497 MB / 0.5157 GB, free: 7.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008745/0.3708, allocations: 253.1 kB / 0.516 GB, free: 7.027 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007714/0.3716, allocations: 331.3 kB / 0.5163 GB, free: 6.703 MB / 426.7 MB Notification: Performance of SimCode: time 2.024e-06/0.3716, allocations: 4 kB / 0.5163 GB, free: 6.699 MB / 426.7 MB Notification: Performance of Templates: time 0.06611/0.4377, allocations: 60.12 MB / 0.575 GB, free: 11 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.sim & ./OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.88965600496158]