Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Display.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.0009632/0.0009632, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001024/0.001024, allocations: 162.8 kB / 25.61 MB, free: 8.902 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.8816/0.8816, allocations: 177.1 MB / 206 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] 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.114/0.114, allocations: 29.43 MB / 292 MB, free: 2.633 MB / 266.7 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.Introductory.Display,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Display") translateModel(PowerSystems.Examples.Introductory.Display,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Display") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 370.9 MB, free: 32.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.409e-05/1.602e-05, allocations: 2.312 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.004313/0.004329, allocations: 5.495 MB / 376.3 MB, free: 26.82 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002674/0.007003, allocations: 1.978 MB / 378.3 MB, free: 24.83 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002715/0.007274, allocations: 31.75 kB / 378.4 MB, free: 24.8 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005027/0.007777, allocations: 178.8 kB / 378.5 MB, free: 24.62 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007768/0.008554, allocations: 0.5866 MB / 379.1 MB, free: 24.04 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004669/0.009021, allocations: 255.3 kB / 379.4 MB, free: 23.79 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009059/0.009926, allocations: 1.172 MB / 380.5 MB, free: 22.61 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00051/0.01044, allocations: 477.5 kB / 381 MB, free: 22.14 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007122/0.01115, allocations: 0.7676 MB / 381.8 MB, free: 21.37 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005579/0.01171, allocations: 0.5415 MB / 382.3 MB, free: 20.82 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.915e-05/0.0118, allocations: 68 kB / 382.4 MB, free: 20.76 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004138/0.01221, allocations: 279.6 kB / 382.7 MB, free: 20.48 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002842/0.01249, allocations: 0.5027 MB / 383.2 MB, free: 19.98 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002362/0.01273, allocations: 339.2 kB / 383.5 MB, free: 19.65 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000693/0.01342, allocations: 0.8875 MB / 384.4 MB, free: 18.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.01343, allocations: 0 / 384.4 MB, free: 18.76 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.01343, allocations: 4 kB / 384.4 MB, free: 18.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.01344, allocations: 0 / 384.4 MB, free: 18.75 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.001039/0.01448, allocations: 1.25 MB / 385.6 MB, free: 17.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.01451, allocations: 12.03 kB / 385.6 MB, free: 17.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005734/0.01509, allocations: 240.1 kB / 385.9 MB, free: 17.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004653/0.01555, allocations: 0.5004 MB / 386.4 MB, free: 16.69 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/0.01559, allocations: 62.38 kB / 386.4 MB, free: 16.63 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.01571, allocations: 100.8 kB / 386.5 MB, free: 16.53 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005655/0.01628, allocations: 0.7446 MB / 387.3 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.0163, allocations: 3.938 kB / 387.3 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.341e-05/0.01634, allocations: 40 kB / 387.3 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.35e-05/0.01643, allocations: 85.95 kB / 387.4 MB, free: 15.58 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004088/0.01684, allocations: 389.3 kB / 387.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002223/0.01906, allocations: 4.031 MB / 391.8 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004197/0.01948, allocations: 358.5 kB / 392.2 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.01959, allocations: 132.8 kB / 392.3 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.01963, allocations: 16.44 kB / 392.3 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.01964, allocations: 41.89 kB / 392.4 MB, free: 10.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=63): time 1.774e-06/0.01964, allocations: 0 / 392.4 MB, free: 10.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=64): time 0.0009711/0.02062, allocations: 0.8649 MB / 393.2 MB, free: 9.516 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.287e-05/0.02064, allocations: 93.7 kB / 393.3 MB, free: 9.406 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.02087, allocations: 0.5683 MB / 393.9 MB, free: 8.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.02089, allocations: 41.7 kB / 393.9 MB, free: 8.773 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.02103, allocations: 0.4948 MB / 394.4 MB, free: 8.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.35e-05/0.02111, allocations: 242 kB / 394.7 MB, free: 8.031 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.02124, allocations: 200.1 kB / 394.8 MB, free: 7.824 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.805e-05/0.02131, allocations: 0.5663 MB / 395.4 MB, free: 7.246 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.908e-05/0.02141, allocations: 89.91 kB / 395.5 MB, free: 7.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.02161, allocations: 0.5713 MB / 396.1 MB, free: 6.379 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003773/0.02198, allocations: 0.7549 MB / 396.8 MB, free: 5.418 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.02199, allocations: 0 / 396.8 MB, free: 5.418 MB / 314.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0007728/0.02276, allocations: 0.8002 MB / 397.6 MB, free: 4.598 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.02277, allocations: 12 kB / 397.6 MB, free: 4.586 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003922/0.02317, allocations: 380.3 kB / 398 MB, free: 4.199 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003644/0.02353, allocations: 183.2 kB / 398.2 MB, free: 4.008 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003728/0.0239, allocations: 239.6 kB / 398.4 MB, free: 3.773 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001953/0.02586, allocations: 5.737 MB / 404.2 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.02609, allocations: 31.98 kB / 404.2 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.02613, allocations: 36 kB / 404.2 MB, free: 13.62 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 33 (system.initime,phasor_cap.color_n[3],phasor_cap.color_n[1],phasor_cap.color_p[3],phasor_cap.color_p[1],phasor_ind.color_n[3],phasor_ind.color_n[1],phasor_ind.color_p[3],phasor_ind.color_p[1],phasor_cap.color2[3],phasor_cap.color2[2],phasor_cap.color2[1],phasor_cap.color1[3],phasor_cap.color1[2],phasor_cap.color1[1],phasor_cap.colorR[3],phasor_cap.colorR[2],phasor_cap.colorR[1],phasor_cap.colorL[3],phasor_cap.colorL[2],phasor_cap.colorL[1],phasor_ind.color2[3],phasor_ind.color2[2],phasor_ind.color2[1],phasor_ind.color1[3],phasor_ind.color1[2],phasor_ind.color1[1],phasor_ind.colorR[3],phasor_ind.colorR[2],phasor_ind.colorR[1],phasor_ind.colorL[3],phasor_ind.colorL[2],phasor_ind.colorL[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 104 * 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%), (2,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000184/0.02631, allocations: 240.4 kB / 404.5 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.739e-05/0.0264, allocations: 95.5 kB / 404.6 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004372/0.02684, allocations: 411.9 kB / 405 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.02684, allocations: 4 kB / 405 MB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.02684, allocations: 7.938 kB / 405 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.02685, allocations: 3.984 kB / 405 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009975/0.02785, allocations: 0.9578 MB / 405.9 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.02785, allocations: 3.828 kB / 405.9 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004043/0.02825, allocations: 183.8 kB / 406.1 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.02826, allocations: 8.156 kB / 406.1 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.02828, allocations: 19.98 kB / 406.1 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.02828, allocations: 4 kB / 406.1 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.02829, allocations: 0 / 406.1 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005371/0.02882, allocations: 0.6745 MB / 406.8 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.02893, allocations: 91.53 kB / 406.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.453e-05/0.02898, allocations: 15.95 kB / 406.9 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.02911, allocations: 16 kB / 406.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.75e-05/0.02918, allocations: 48.41 kB / 407 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.0292, allocations: 19.94 kB / 407 MB, free: 10.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001618/0.02936, allocations: 314.7 kB / 407.3 MB, free: 10.42 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02936, allocations: 0 / 407.3 MB, free: 10.42 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000464/0.02983, allocations: 220 kB / 407.5 MB, free: 10.2 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (ind.i[1],ind.i[2],ind.i[3],cap.v[1],cap.v[2],cap.v[3]) * Number of discrete variables: 9 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 66 * 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.0001044/0.02993, allocations: 125.1 kB / 407.7 MB, free: 10.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000744/0.03068, allocations: 0.9701 MB / 408.6 MB, free: 9.043 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.03068, allocations: 0 / 408.6 MB, free: 9.043 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.03085, allocations: 183.6 kB / 408.8 MB, free: 8.863 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/0.03131, allocations: 165.8 kB / 409 MB, free: 8.715 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.03309, allocations: 1.618 MB / 410.6 MB, free: 7.031 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.03324, allocations: 235.4 kB / 410.8 MB, free: 6.781 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002048/0.03345, allocations: 101.7 kB / 410.9 MB, free: 6.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000244/0.03369, allocations: 210.1 kB / 411.1 MB, free: 6.473 MB / 330.7 MB Notification: Performance of SimCode: time 9.52e-07/0.03369, allocations: 0 / 411.1 MB, free: 6.473 MB / 330.7 MB Notification: Performance of Templates: time 0.01115/0.04484, allocations: 9.215 MB / 420.3 MB, free: 13.41 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Display.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Display.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Display.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Display.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Display.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Display -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Display.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0537911071442068]