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.0008743/0.0008743, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004464/0.004464, allocations: 161 kB / 24.7 MB, free: 9.41 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.8942/0.8942, allocations: 177.1 MB / 205 MB, free: 5.734 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.2382/0.2382, allocations: 29.41 MB / 290.8 MB, free: 2.418 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.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.503e-06/1.503e-06, allocations: 0 / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.647e-05, allocations: 2.281 kB / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.004508/0.004535, allocations: 5.293 MB / 436.8 MB, free: 7.758 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.005917, allocations: 1.305 MB / 438.1 MB, free: 6.449 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001829/0.0061, allocations: 27.75 kB / 438.1 MB, free: 6.422 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003674/0.006468, allocations: 135 kB / 438.2 MB, free: 6.289 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005745/0.007042, allocations: 405.8 kB / 438.6 MB, free: 5.891 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.007229, allocations: 147.7 kB / 438.8 MB, free: 5.746 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005406/0.00777, allocations: 0.8019 MB / 439.6 MB, free: 4.941 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002226/0.007992, allocations: 146.1 kB / 439.7 MB, free: 4.793 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004328/0.008425, allocations: 474.5 kB / 440.2 MB, free: 4.328 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00038/0.008805, allocations: 375 kB / 440.6 MB, free: 3.961 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.513e-05/0.00885, allocations: 40 kB / 440.6 MB, free: 3.922 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.039e-05/0.0089, allocations: 40 kB / 440.6 MB, free: 3.883 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.009041, allocations: 215.3 kB / 440.8 MB, free: 3.672 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.009178, allocations: 183.5 kB / 441 MB, free: 3.492 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004654/0.009643, allocations: 0.5879 MB / 441.6 MB, free: 2.902 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.009646, allocations: 0 / 441.6 MB, free: 2.902 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.009647, allocations: 0 / 441.6 MB, free: 2.902 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.009653, allocations: 0 / 441.6 MB, free: 2.902 MB / 410.7 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.0009326/0.01059, allocations: 0.8355 MB / 442.4 MB, free: 2.027 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.01062, allocations: 11.98 kB / 442.5 MB, free: 2.016 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.569e-05/0.0107, allocations: 64.52 kB / 442.5 MB, free: 1.953 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000519/0.01121, allocations: 452.3 kB / 443 MB, free: 1.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.01124, allocations: 29.38 kB / 443 MB, free: 1.453 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.857e-05/0.01129, allocations: 52.34 kB / 443 MB, free: 1.402 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005316/0.01182, allocations: 0.5641 MB / 443.6 MB, free: 0.793 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.01183, allocations: 0 / 443.6 MB, free: 0.793 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.01186, allocations: 16 kB / 443.6 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.675e-05/0.01188, allocations: 20.98 kB / 443.6 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004124/0.01229, allocations: 421.3 kB / 444.1 MB, free: 348 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1737/0.186, allocations: 1.685 MB / 445.7 MB, free: 53.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003701/0.1864, allocations: 341.6 kB / 446.1 MB, free: 53.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.1865, allocations: 194.1 kB / 446.3 MB, free: 53.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.1866, allocations: 2.562 kB / 446.3 MB, free: 53.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/0.1868, allocations: 312.5 kB / 446.6 MB, free: 53.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.914e-06/0.1868, allocations: 0.5 kB / 446.6 MB, free: 53.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001054/0.1878, allocations: 1.192 MB / 447.8 MB, free: 52.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.1879, allocations: 165.3 kB / 447.9 MB, free: 52.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.1881, allocations: 405.1 kB / 448.3 MB, free: 52.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.1881, allocations: 32.98 kB / 448.4 MB, free: 52.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.979e-05/0.1882, allocations: 303.4 kB / 448.6 MB, free: 52.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.167e-05/0.1882, allocations: 119.9 kB / 448.8 MB, free: 52.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.621e-05/0.1883, allocations: 92.19 kB / 448.9 MB, free: 52.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.275e-05/0.1883, allocations: 361.6 kB / 449.2 MB, free: 51.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.1884, allocations: 153.4 kB / 449.4 MB, free: 51.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.1886, allocations: 312.9 kB / 449.7 MB, free: 51.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.1889, allocations: 485.5 kB / 450.1 MB, free: 51.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1889, allocations: 3.156 kB / 450.1 MB, free: 51.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0003771/0.1892, allocations: 0.546 MB / 450.7 MB, free: 50.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.1893, allocations: 36.02 kB / 450.7 MB, free: 50.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1893, allocations: 6.281 kB / 450.7 MB, free: 50.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1893, allocations: 9.375 kB / 450.7 MB, free: 50.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.1895, allocations: 105.6 kB / 450.8 MB, free: 50.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.1895, allocations: 16.58 kB / 450.9 MB, free: 50.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.1896, allocations: 24.36 kB / 450.9 MB, free: 50.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.1896, allocations: 33.45 kB / 450.9 MB, free: 50.75 MB / 410.7 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.0001295/0.1898, allocations: 253 kB / 451.2 MB, free: 50.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.1898, allocations: 49.53 kB / 451.2 MB, free: 50.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003521/0.1902, allocations: 486.9 kB / 451.7 MB, free: 50.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1902, allocations: 3.219 kB / 451.7 MB, free: 50.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.1902, allocations: 3.125 kB / 451.7 MB, free: 50.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1902, allocations: 2.344 kB / 451.7 MB, free: 50.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006106/0.1908, allocations: 0.8989 MB / 452.6 MB, free: 49.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.1908, allocations: 7.844 kB / 452.6 MB, free: 49.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.1909, allocations: 60.27 kB / 452.7 MB, free: 49.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1909, allocations: 0 / 452.7 MB, free: 49.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.1909, allocations: 13.86 kB / 452.7 MB, free: 49.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.1909, allocations: 5.875 kB / 452.7 MB, free: 49.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1909, allocations: 0 / 452.7 MB, free: 49.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004665/0.1914, allocations: 0.7792 MB / 453.5 MB, free: 49.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.1915, allocations: 68.45 kB / 453.5 MB, free: 49.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.1915, allocations: 7.219 kB / 453.5 MB, free: 49.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.1916, allocations: 17.25 kB / 453.5 MB, free: 49.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.1917, allocations: 26.56 kB / 453.6 MB, free: 49.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.618e-05/0.1917, allocations: 35.64 kB / 453.6 MB, free: 49.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00013/0.1918, allocations: 271.5 kB / 453.9 MB, free: 49.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1918, allocations: 1.203 kB / 453.9 MB, free: 49.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002449/0.1921, allocations: 100.2 kB / 454 MB, free: 49.12 MB / 410.7 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 7.883e-05/0.1921, allocations: 112.9 kB / 454.1 MB, free: 49.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003321/0.1925, allocations: 452.2 kB / 454.5 MB, free: 48.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1925, allocations: 0 / 454.5 MB, free: 48.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.1926, allocations: 260.8 kB / 454.8 MB, free: 48.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.193, allocations: 103.7 kB / 454.9 MB, free: 48.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008693/0.1938, allocations: 1.026 MB / 455.9 MB, free: 48.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.194, allocations: 290.6 kB / 456.2 MB, free: 47.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.565e-05/0.194, allocations: 39.69 kB / 456.2 MB, free: 47.92 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.194, allocations: 0 / 456.2 MB, free: 47.92 MB / 410.7 MB Notification: Performance of Templates: time 0.00443/0.1985, allocations: 6.174 MB / 462.4 MB, free: 47.36 MB / 410.7 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: 5.409006797708571] Failed to read output from testmodel.py, exit status != 0: 0.20355013012886047 0.20963683100000002 0.198600103 Calling exit ...