Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.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.001356/0.001356, allocations: 79.62 kB / 20.68 MB, free: 1.027 MB / 14.72 MB " [Timeout remaining time 180] 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.001447/0.001447, allocations: 164.8 kB / 23.95 MB, free: 4.156 MB / 14.72 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.482/1.482, allocations: 177.2 MB / 204.3 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1812/0.1812, allocations: 29.43 MB / 290.1 MB, free: 3.297 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") translateModel(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 430.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.291e-05, allocations: 2.281 kB / 430.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01043/0.01045, allocations: 8.283 MB / 439 MB, free: 9.621 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005537/0.01599, allocations: 2.881 MB / 441.9 MB, free: 6.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004713/0.01646, allocations: 47.62 kB / 441.9 MB, free: 6.684 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002992/0.01945, allocations: 1.05 MB / 443 MB, free: 5.629 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001598/0.02105, allocations: 0.6446 MB / 443.6 MB, free: 4.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.02315, allocations: 0.7672 MB / 444.4 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002099/0.02525, allocations: 1.66 MB / 446.1 MB, free: 2.547 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001037/0.02629, allocations: 0.6865 MB / 446.7 MB, free: 1.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001439/0.02773, allocations: 0.9776 MB / 447.7 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1829/0.2106, allocations: 0.8914 MB / 448.6 MB, free: 16.7 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005304/0.2111, allocations: 104.6 kB / 448.7 MB, free: 16.7 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/0.2125, allocations: 0.495 MB / 449.2 MB, free: 16.7 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007016/0.2132, allocations: 0.6949 MB / 449.9 MB, free: 16.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008588/0.214, allocations: 0.4963 MB / 450.4 MB, free: 16.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00264/0.2167, allocations: 1.849 MB / 452.2 MB, free: 16.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2167, allocations: 1.25 kB / 452.2 MB, free: 16.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2167, allocations: 0 / 452.2 MB, free: 16.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.719e-05/0.2167, allocations: 0 / 452.2 MB, free: 16.62 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.003139/0.2199, allocations: 1.602 MB / 453.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.2199, allocations: 12.2 kB / 453.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00237/0.2223, allocations: 400.1 kB / 454.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/0.2239, allocations: 0.8156 MB / 455.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.172e-05/0.224, allocations: 92.56 kB / 455.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003624/0.2244, allocations: 147.7 kB / 455.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002694/0.227, allocations: 1.851 MB / 457.2 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.389e-05/0.2271, allocations: 15.39 kB / 457.2 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.2272, allocations: 58.14 kB / 457.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003101/0.2275, allocations: 99.91 kB / 457.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00233/0.2299, allocations: 1.478 MB / 458.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007521/0.2374, allocations: 7.716 MB / 466.5 MB, free: 9.418 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.2385, allocations: 0.6668 MB / 467.2 MB, free: 9.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006089/0.2391, allocations: 448.8 kB / 467.6 MB, free: 9.004 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.115e-05/0.2392, allocations: 14.05 kB / 467.6 MB, free: 9.004 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.2392, allocations: 43.34 kB / 467.7 MB, free: 8.957 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 2.705e-06/0.2392, allocations: 2.531 kB / 467.7 MB, free: 8.957 MB / 366.1 MB Notification: Performance of matching and sorting (n=83): time 0.003605/0.2428, allocations: 2.392 MB / 470.1 MB, free: 7.789 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.2428, allocations: 89.61 kB / 470.2 MB, free: 7.691 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008319/0.2436, allocations: 0.8153 MB / 471 MB, free: 7.344 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.567e-05/0.2437, allocations: 40.39 kB / 471 MB, free: 7.301 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00029/0.244, allocations: 0.7016 MB / 471.7 MB, free: 6.742 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.2442, allocations: 321.1 kB / 472 MB, free: 6.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003091/0.2445, allocations: 253.1 kB / 472.3 MB, free: 6.379 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.2446, allocations: 414.3 kB / 472.7 MB, free: 6.023 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006444/0.2452, allocations: 454.9 kB / 473.1 MB, free: 5.891 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008213/0.2461, allocations: 1.004 MB / 474.1 MB, free: 5.051 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.2476, allocations: 1.588 MB / 475.7 MB, free: 3.984 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.2476, allocations: 5.594 kB / 475.7 MB, free: 3.984 MB / 366.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.002846/0.2505, allocations: 1.759 MB / 477.5 MB, free: 3.434 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.2505, allocations: 12.38 kB / 477.5 MB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001512/0.252, allocations: 0.9787 MB / 478.5 MB, free: 3.102 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008161/0.2528, allocations: 252.7 kB / 478.7 MB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009714/0.2538, allocations: 313.4 kB / 479 MB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003831/0.2576, allocations: 4.775 MB / 483.8 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009013/0.2585, allocations: 52.84 kB / 483.9 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.811e-05/0.2586, allocations: 68.14 kB / 483.9 MB, free: 14.96 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000672/0.2593, allocations: 444.4 kB / 484.4 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.2595, allocations: 101.9 kB / 484.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/0.261, allocations: 0.9447 MB / 485.4 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.261, allocations: 10.72 kB / 485.4 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.261, allocations: 0 / 485.4 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.261, allocations: 3.984 kB / 485.4 MB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003654/0.2647, allocations: 1.867 MB / 487.3 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.2647, allocations: 1.562 kB / 487.3 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009126/0.2656, allocations: 184.2 kB / 487.5 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.314e-05/0.2656, allocations: 11.91 kB / 487.5 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6e-05/0.2657, allocations: 19.81 kB / 487.5 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.2657, allocations: 5.719 kB / 487.5 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.832e-06/0.2657, allocations: 10.45 kB / 487.5 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002141/0.2678, allocations: 1.401 MB / 488.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002225/0.2681, allocations: 91.33 kB / 489 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.2682, allocations: 20 kB / 489 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004238/0.2686, allocations: 23.61 kB / 489 MB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.2687, allocations: 68.48 kB / 489.1 MB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.556e-05/0.2688, allocations: 20 kB / 489.1 MB, free: 11.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006902/0.2695, allocations: 0.5185 MB / 489.6 MB, free: 10.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2695, allocations: 0 / 489.6 MB, free: 10.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001217/0.2707, allocations: 292 kB / 489.9 MB, free: 10.69 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (line0.i[1],line0.i[2],line0.i[3],line1.i[1],line1.i[2],line1.i[3],line2.i[1],line2.i[2],line2.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001982/0.2709, allocations: 124.2 kB / 490.1 MB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00256/0.2735, allocations: 1.42 MB / 491.5 MB, free: 9.184 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.2735, allocations: 1.75 kB / 491.5 MB, free: 9.184 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006094/0.2741, allocations: 384.4 kB / 491.8 MB, free: 8.824 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.2751, allocations: 179.4 kB / 492 MB, free: 8.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004545/0.2797, allocations: 2.548 MB / 494.6 MB, free: 6.082 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007977/0.2805, allocations: 0.6498 MB / 495.2 MB, free: 5.398 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001024/0.2815, allocations: 416.5 kB / 495.6 MB, free: 4.988 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002442/0.2817, allocations: 80.48 kB / 495.7 MB, free: 4.91 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2817, allocations: 3.938 kB / 495.7 MB, free: 4.906 MB / 382.1 MB Notification: Performance of Templates: time 0.02191/0.3036, allocations: 10.66 MB / 0.4945 GB, free: 10.48 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.057407479733229] Failed to read output from testmodel.py, exit status != 0: 0.31312625855207443 0.327772384 0.107820362 Calling exit ...