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.001526/0.001526, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001432/0.001432, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.387/1.387, allocations: 230.6 MB / 258.3 MB, free: 8.238 MB / 206.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.1829/0.1829, allocations: 38.52 MB / 353.2 MB, free: 12.61 MB / 286.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.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 63.91 kB / 493.8 MB, free: 4.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2991, allocations: 62.46 MB / 0.5432 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.008897/0.308, allocations: 6.827 MB / 0.5499 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004198/0.3122, allocations: 2.067 MB / 0.5519 GB, free: 9.602 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005733/0.3128, allocations: 30.75 kB / 0.5519 GB, free: 9.586 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00198/0.3148, allocations: 0.7413 MB / 0.5526 GB, free: 9.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001654/0.3164, allocations: 0.5795 MB / 0.5532 GB, free: 8.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000777/0.3172, allocations: 252.3 kB / 0.5535 GB, free: 8.363 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001569/0.3188, allocations: 1.152 MB / 0.5546 GB, free: 7.719 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007102/0.3195, allocations: 480.5 kB / 0.555 GB, free: 7.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008886/0.3204, allocations: 0.5312 MB / 0.5556 GB, free: 7.102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.3214, allocations: 0.6556 MB / 0.5562 GB, free: 6.711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.3215, allocations: 70.67 kB / 0.5563 GB, free: 6.707 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006403/0.3222, allocations: 289.4 kB / 0.5565 GB, free: 6.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005031/0.3227, allocations: 495.3 kB / 0.557 GB, free: 6.289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005282/0.3232, allocations: 493.1 kB / 0.5575 GB, free: 5.828 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001382/0.3246, allocations: 1.191 MB / 0.5586 GB, free: 4.633 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3246, allocations: 0 / 0.5586 GB, free: 4.633 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3246, allocations: 4 kB / 0.5587 GB, free: 4.629 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.954e-05/0.3246, allocations: 0 / 0.5587 GB, free: 4.629 MB / 398.1 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.002091/0.3267, allocations: 1.162 MB / 0.5598 GB, free: 3.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.3268, allocations: 11.98 kB / 0.5598 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009185/0.3277, allocations: 172.2 kB / 0.56 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.3289, allocations: 0.551 MB / 0.5605 GB, free: 2.672 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.058e-05/0.3289, allocations: 66.36 kB / 0.5606 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002201/0.3292, allocations: 96.09 kB / 0.5607 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/0.3309, allocations: 1.157 MB / 0.5618 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/0.331, allocations: 11.95 kB / 0.5618 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.941e-05/0.3311, allocations: 35.98 kB / 0.5618 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001751/0.3312, allocations: 85.89 kB / 0.5619 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/0.3329, allocations: 0.9991 MB / 0.5629 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005748/0.3386, allocations: 4.268 MB / 0.5671 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.3398, allocations: 0.5995 MB / 0.5676 GB, free: 11.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004543/0.3403, allocations: 283.1 kB / 0.5679 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.875e-05/0.3403, allocations: 4.5 kB / 0.5679 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.3403, allocations: 39.06 kB / 0.568 GB, free: 10.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 2.525e-06/0.3404, allocations: 0 / 0.568 GB, free: 10.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.003001/0.3434, allocations: 1.689 MB / 0.5696 GB, free: 9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/0.3434, allocations: 89.7 kB / 0.5697 GB, free: 8.895 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006306/0.344, allocations: 0.5456 MB / 0.5702 GB, free: 8.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.708e-05/0.3441, allocations: 37.7 kB / 0.5703 GB, free: 8.297 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003448/0.3444, allocations: 448 kB / 0.5707 GB, free: 7.852 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/0.3447, allocations: 238 kB / 0.5709 GB, free: 7.617 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002491/0.3449, allocations: 194.7 kB / 0.5711 GB, free: 7.422 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.3451, allocations: 374.8 kB / 0.5715 GB, free: 7.047 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00048/0.3456, allocations: 285.8 kB / 0.5717 GB, free: 6.766 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008066/0.3464, allocations: 0.6115 MB / 0.5723 GB, free: 6.004 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/0.3477, allocations: 0.9671 MB / 0.5733 GB, free: 4.887 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.3477, allocations: 4 kB / 0.5733 GB, free: 4.883 MB / 414.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002265/0.35, allocations: 1.174 MB / 0.5744 GB, free: 3.691 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.35, allocations: 12 kB / 0.5744 GB, free: 3.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001367/0.3514, allocations: 0.7032 MB / 0.5751 GB, free: 2.969 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007804/0.3521, allocations: 226.3 kB / 0.5753 GB, free: 2.738 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007542/0.3529, allocations: 219.7 kB / 0.5755 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005239/0.3581, allocations: 5.066 MB / 0.5805 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005821/0.3587, allocations: 39.92 kB / 0.5805 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.92e-05/0.3588, allocations: 44 kB / 0.5806 GB, free: 13.03 MB / 430.1 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.0005062/0.3593, allocations: 349.6 kB / 0.5809 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.3594, allocations: 67.58 kB / 0.581 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.3605, allocations: 0.6638 MB / 0.5816 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/0.3606, allocations: 8 kB / 0.5816 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.3606, allocations: 0 / 0.5816 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.3606, allocations: 0 / 0.5816 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002663/0.3632, allocations: 1.514 MB / 0.5831 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.3632, allocations: 4 kB / 0.5831 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007992/0.364, allocations: 171.9 kB / 0.5833 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.537e-06/0.364, allocations: 8 kB / 0.5833 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.492e-05/0.3641, allocations: 15.98 kB / 0.5833 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.736e-06/0.3641, allocations: 7.938 kB / 0.5833 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.3641, allocations: 4 kB / 0.5833 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.3657, allocations: 1.025 MB / 0.5843 GB, free: 9.086 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002907/0.366, allocations: 107.6 kB / 0.5844 GB, free: 8.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.334e-05/0.3661, allocations: 16 kB / 0.5844 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002951/0.3664, allocations: 15.98 kB / 0.5844 GB, free: 8.949 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.3665, allocations: 56.34 kB / 0.5845 GB, free: 8.895 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-05/0.3665, allocations: 20 kB / 0.5845 GB, free: 8.875 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004236/0.3669, allocations: 358.8 kB / 0.5849 GB, free: 8.527 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3669, allocations: 3.938 kB / 0.5849 GB, free: 8.523 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008339/0.3678, allocations: 216 kB / 0.5851 GB, free: 8.312 MB / 430.1 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.000148/0.3679, allocations: 119.2 kB / 0.5852 GB, free: 8.188 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001762/0.3697, allocations: 1.087 MB / 0.5862 GB, free: 7.062 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3697, allocations: 0 / 0.5862 GB, free: 7.062 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004666/0.3702, allocations: 294.5 kB / 0.5865 GB, free: 6.777 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007913/0.3709, allocations: 163.8 kB / 0.5867 GB, free: 6.625 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/0.3741, allocations: 2.041 MB / 0.5887 GB, free: 4.527 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007586/0.3748, allocations: 1.071 MB / 0.5897 GB, free: 3.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.375, allocations: 59.42 kB / 0.5898 GB, free: 3.371 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.375, allocations: 0 / 0.5898 GB, free: 3.371 MB / 430.1 MB Notification: Performance of Templates: time 0.02099/0.396, allocations: 14.15 MB / 0.6036 GB, free: 5.215 MB / 446.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Display.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.059613827848807] Failed to read output from testmodel.py, exit status != 0: 0.4050931630190462 0.42009537900000005 0.09219233900000001 Calling exit ...