Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.001669/0.001669, allocations: 84.55 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.00163/0.00163, allocations: 164.7 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.545/1.545, allocations: 177.1 MB / 204.3 MB, free: 9.188 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.1771/0.1771, allocations: 29.44 MB / 290.1 MB, free: 3.289 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.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 430.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.653e-05/2.825e-05, allocations: 2.281 kB / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.008697/0.008726, allocations: 5.289 MB / 436 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002973/0.0117, allocations: 1.305 MB / 437.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005267/0.01223, allocations: 27.75 kB / 437.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006298/0.01286, allocations: 135 kB / 437.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001422/0.01428, allocations: 409.7 kB / 437.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004916/0.01477, allocations: 151.6 kB / 438 MB, free: 10.6 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001603/0.01637, allocations: 0.7979 MB / 438.8 MB, free: 9.801 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004799/0.01685, allocations: 138.1 kB / 439 MB, free: 9.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/0.01836, allocations: 478.5 kB / 439.4 MB, free: 9.191 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/0.01952, allocations: 379 kB / 439.8 MB, free: 8.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002053/0.01972, allocations: 36 kB / 439.8 MB, free: 8.785 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003074/0.02003, allocations: 44 kB / 439.9 MB, free: 8.742 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004127/0.02044, allocations: 219.3 kB / 440.1 MB, free: 8.527 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004901/0.02093, allocations: 183.5 kB / 440.3 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.02225, allocations: 0.5763 MB / 440.8 MB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.02226, allocations: 0 / 440.8 MB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.02226, allocations: 8 kB / 440.8 MB, free: 7.762 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.78e-05/0.02231, allocations: 0 / 440.8 MB, free: 7.762 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.002968/0.02528, allocations: 0.82 MB / 441.7 MB, free: 6.906 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.444e-05/0.02535, allocations: 12.03 kB / 441.7 MB, free: 6.895 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002927/0.02565, allocations: 68.56 kB / 441.7 MB, free: 6.828 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.02703, allocations: 456.2 kB / 442.2 MB, free: 6.355 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.482e-05/0.02708, allocations: 33.38 kB / 442.2 MB, free: 6.324 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.02719, allocations: 40.36 kB / 442.3 MB, free: 6.285 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.02829, allocations: 0.568 MB / 442.8 MB, free: 5.672 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.02831, allocations: 8 kB / 442.8 MB, free: 5.664 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.124e-05/0.02836, allocations: 16 kB / 442.9 MB, free: 5.648 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.203e-05/0.02841, allocations: 17 kB / 442.9 MB, free: 5.633 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007341/0.02915, allocations: 421.3 kB / 443.3 MB, free: 5.215 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002608/0.03175, allocations: 1.707 MB / 445 MB, free: 3.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006661/0.03242, allocations: 337 kB / 445.3 MB, free: 3.078 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003547/0.03277, allocations: 187.4 kB / 445.5 MB, free: 2.883 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.0328, allocations: 4 kB / 445.5 MB, free: 2.879 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004445/0.03324, allocations: 314 kB / 445.8 MB, free: 2.535 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 1.673e-06/0.03325, allocations: 4 kB / 445.8 MB, free: 2.531 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.0021/0.03535, allocations: 1.183 MB / 447 MB, free: 1.281 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.03547, allocations: 170.2 kB / 447.2 MB, free: 1.078 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005402/0.03601, allocations: 413.7 kB / 447.6 MB, free: 0.668 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/0.03605, allocations: 29.7 kB / 447.6 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002624/0.03631, allocations: 296.2 kB / 447.9 MB, free: 348 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.03644, allocations: 126.9 kB / 448 MB, free: 220 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.03658, allocations: 90.27 kB / 448.1 MB, free: 124 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1893/0.2259, allocations: 362.8 kB / 448.5 MB, free: 30.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000386/0.2262, allocations: 145.5 kB / 448.6 MB, free: 30.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000292/0.2265, allocations: 313.7 kB / 448.9 MB, free: 29.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005023/0.227, allocations: 486 kB / 449.4 MB, free: 29.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.227, allocations: 1.094 kB / 449.4 MB, free: 29.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007967/0.2278, allocations: 0.5419 MB / 449.9 MB, free: 29.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.071e-05/0.2279, allocations: 35.59 kB / 450 MB, free: 29.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.2279, allocations: 5.719 kB / 450 MB, free: 29.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/0.2279, allocations: 8.594 kB / 450 MB, free: 29.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004561/0.2284, allocations: 107.8 kB / 450.1 MB, free: 29.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/0.2284, allocations: 13.22 kB / 450.1 MB, free: 29.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002853/0.2287, allocations: 27.48 kB / 450.1 MB, free: 29.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.485e-05/0.2287, allocations: 30.94 kB / 450.1 MB, free: 29.39 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002586/0.229, allocations: 251.6 kB / 450.4 MB, free: 29.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.794e-05/0.229, allocations: 51.34 kB / 450.4 MB, free: 29.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000683/0.2297, allocations: 486 kB / 450.9 MB, free: 28.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.2297, allocations: 3 kB / 450.9 MB, free: 28.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2297, allocations: 6.875 kB / 450.9 MB, free: 28.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.2297, allocations: 1.5 kB / 450.9 MB, free: 28.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.2309, allocations: 0.8845 MB / 451.8 MB, free: 28.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.2309, allocations: 1.797 kB / 451.8 MB, free: 28.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003006/0.2312, allocations: 64.64 kB / 451.9 MB, free: 28.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.85e-06/0.2312, allocations: 6.688 kB / 451.9 MB, free: 28.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/0.2312, allocations: 14.7 kB / 451.9 MB, free: 28.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.2312, allocations: 10.36 kB / 451.9 MB, free: 28.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2312, allocations: 1.062 kB / 451.9 MB, free: 28.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008826/0.2321, allocations: 0.7765 MB / 452.7 MB, free: 28.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.2322, allocations: 64.36 kB / 452.7 MB, free: 28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.177e-05/0.2323, allocations: 13.5 kB / 452.8 MB, free: 28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.2325, allocations: 18.39 kB / 452.8 MB, free: 27.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.926e-05/0.2326, allocations: 28 kB / 452.8 MB, free: 27.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.042e-05/0.2327, allocations: 32.95 kB / 452.8 MB, free: 27.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002542/0.2329, allocations: 271.7 kB / 453.1 MB, free: 27.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2329, allocations: 2.203 kB / 453.1 MB, free: 27.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004381/0.2333, allocations: 103.2 kB / 453.2 MB, free: 27.84 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * 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.0001059/0.2335, allocations: 114.9 kB / 453.3 MB, free: 27.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000616/0.2341, allocations: 447.4 kB / 453.8 MB, free: 27.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2341, allocations: 0 / 453.8 MB, free: 27.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000334/0.2344, allocations: 256.7 kB / 454 MB, free: 27.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006452/0.235, allocations: 108.4 kB / 454.1 MB, free: 27.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.2366, allocations: 0.9749 MB / 455.1 MB, free: 26.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.2369, allocations: 279.3 kB / 455.4 MB, free: 26.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002498/0.2371, allocations: 85.69 kB / 455.4 MB, free: 26.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.56e-05/0.2372, allocations: 36.34 kB / 455.5 MB, free: 26.69 MB / 366.1 MB Notification: Performance of SimCode: time 7.81e-07/0.2372, allocations: 0 / 455.5 MB, free: 26.69 MB / 366.1 MB Notification: Performance of Templates: time 0.01078/0.248, allocations: 4.325 MB / 459.8 MB, free: 26.19 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.959727346897125] Failed to read output from testmodel.py, exit status != 0: 0.2574060373008251 0.26945670399999994 0.24454269399999995 Calling exit ...