Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.001078/0.001078, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005289/0.005289, allocations: 160 kB / 24.7 MB, free: 9.43 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.8786/0.8786, allocations: 177.1 MB / 205 MB, free: 5.73 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.2116/0.2116, allocations: 29.41 MB / 290.8 MB, free: 2.422 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.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.021e-05/2.161e-05, allocations: 8.109 kB / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.003987/0.004009, allocations: 4.452 MB / 435.9 MB, free: 8.617 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002245/0.006254, allocations: 1.418 MB / 437.3 MB, free: 7.195 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001723/0.006426, allocations: 15.88 kB / 437.4 MB, free: 7.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006711/0.007097, allocations: 394.2 kB / 437.7 MB, free: 6.793 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003336/0.007431, allocations: 238.5 kB / 438 MB, free: 6.559 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004577/0.007888, allocations: 267.1 kB / 438.2 MB, free: 6.297 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000399/0.008287, allocations: 0.5727 MB / 438.8 MB, free: 5.723 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003001/0.008587, allocations: 242.7 kB / 439.1 MB, free: 5.484 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003246/0.008912, allocations: 358.9 kB / 439.4 MB, free: 5.133 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002802/0.009192, allocations: 291.3 kB / 439.7 MB, free: 4.848 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.63e-05/0.009228, allocations: 36 kB / 439.7 MB, free: 4.812 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.009429, allocations: 159.6 kB / 439.9 MB, free: 4.656 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.009577, allocations: 239.4 kB / 440.1 MB, free: 4.422 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.009705, allocations: 171.6 kB / 440.3 MB, free: 4.254 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000461/0.01017, allocations: 0.6075 MB / 440.9 MB, free: 3.645 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.01017, allocations: 3.938 kB / 440.9 MB, free: 3.641 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.01017, allocations: 3.984 kB / 440.9 MB, free: 3.637 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.01018, allocations: 0 / 440.9 MB, free: 3.637 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.0008296/0.01101, allocations: 0.6978 MB / 441.6 MB, free: 2.906 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.01104, allocations: 15.98 kB / 441.6 MB, free: 2.891 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004189/0.01146, allocations: 128.5 kB / 441.7 MB, free: 2.766 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004298/0.01189, allocations: 359.9 kB / 442.1 MB, free: 2.379 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.01192, allocations: 29.38 kB / 442.1 MB, free: 2.352 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.01202, allocations: 56.62 kB / 442.2 MB, free: 2.297 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005673/0.01259, allocations: 0.6413 MB / 442.8 MB, free: 1.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.01261, allocations: 11.92 kB / 442.8 MB, free: 1.578 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.966e-05/0.01264, allocations: 16 kB / 442.8 MB, free: 1.562 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.267e-05/0.0127, allocations: 32.98 kB / 442.9 MB, free: 1.531 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004713/0.01318, allocations: 483.5 kB / 443.3 MB, free: 1.059 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1656/0.1788, allocations: 2.771 MB / 446.1 MB, free: 52.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.179, allocations: 173.7 kB / 446.3 MB, free: 52.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.278e-05/0.1791, allocations: 97.28 kB / 446.4 MB, free: 52.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.493e-05/0.1792, allocations: 12.06 kB / 446.4 MB, free: 52.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.1792, allocations: 36.84 kB / 446.4 MB, free: 52.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.914e-06/0.1792, allocations: 0 / 446.4 MB, free: 52.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.001042/0.1802, allocations: 0.7728 MB / 447.2 MB, free: 52.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.1803, allocations: 81.73 kB / 447.3 MB, free: 52.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.1804, allocations: 359.2 kB / 447.6 MB, free: 51.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.1805, allocations: 32.98 kB / 447.7 MB, free: 51.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.641e-05/0.1805, allocations: 307 kB / 448 MB, free: 51.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.1806, allocations: 80.67 kB / 448 MB, free: 51.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.834e-05/0.1806, allocations: 94.73 kB / 448.1 MB, free: 51.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.184e-05/0.1807, allocations: 339.8 kB / 448.5 MB, free: 51.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.1808, allocations: 127.5 kB / 448.6 MB, free: 51.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.181, allocations: 335.9 kB / 448.9 MB, free: 50.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.1813, allocations: 0.4914 MB / 449.4 MB, free: 50.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1813, allocations: 6.812 kB / 449.4 MB, free: 50.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005881/0.1819, allocations: 0.5561 MB / 450 MB, free: 50.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.1819, allocations: 12.81 kB / 450 MB, free: 50.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002835/0.1822, allocations: 268.1 kB / 450.2 MB, free: 50.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002275/0.1824, allocations: 78.92 kB / 450.3 MB, free: 50.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.1826, allocations: 97.11 kB / 450.4 MB, free: 50.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008578/0.1835, allocations: 1.593 MB / 452 MB, free: 48.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.1836, allocations: 24.2 kB / 452 MB, free: 48.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.1836, allocations: 19.69 kB / 452.1 MB, free: 48.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001439/0.1837, allocations: 224.8 kB / 452.3 MB, free: 48.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/0.1838, allocations: 31.75 kB / 452.3 MB, free: 48.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/0.184, allocations: 291.5 kB / 452.6 MB, free: 48.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.1841, allocations: 2.297 kB / 452.6 MB, free: 48.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.1841, allocations: 6.156 kB / 452.6 MB, free: 48.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1841, allocations: 3 kB / 452.6 MB, free: 48.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005367/0.1846, allocations: 0.6709 MB / 453.3 MB, free: 48.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1846, allocations: 0 / 453.3 MB, free: 48.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.1847, allocations: 57.12 kB / 453.3 MB, free: 48.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1847, allocations: 3.219 kB / 453.3 MB, free: 48.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.1847, allocations: 10.66 kB / 453.3 MB, free: 48.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.1847, allocations: 3 kB / 453.3 MB, free: 48.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1847, allocations: 3.047 kB / 453.3 MB, free: 48.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/0.185, allocations: 477.4 kB / 453.8 MB, free: 47.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.429e-05/0.1851, allocations: 37.98 kB / 453.8 MB, free: 47.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.1851, allocations: 3.188 kB / 453.9 MB, free: 47.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.656e-05/0.1852, allocations: 14.39 kB / 453.9 MB, free: 47.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.336e-05/0.1852, allocations: 21.2 kB / 453.9 MB, free: 47.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.1852, allocations: 6.094 kB / 453.9 MB, free: 47.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001027/0.1853, allocations: 238.2 kB / 454.1 MB, free: 47.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1853, allocations: 0 / 454.1 MB, free: 47.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002703/0.1856, allocations: 93.47 kB / 454.2 MB, free: 47.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (24): * Single equations (assignments): 23 * 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 7.427e-05/0.1856, allocations: 104.5 kB / 454.3 MB, free: 47.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003881/0.186, allocations: 434.2 kB / 454.7 MB, free: 47.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.186, allocations: 0 / 454.7 MB, free: 47.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.533e-05/0.1861, allocations: 110.2 kB / 454.8 MB, free: 47.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.1864, allocations: 73.84 kB / 454.9 MB, free: 47.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008262/0.1872, allocations: 0.9624 MB / 455.9 MB, free: 46.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.1874, allocations: 265.8 kB / 456.1 MB, free: 46.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.743e-05/0.1875, allocations: 31.34 kB / 456.2 MB, free: 46.67 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1875, allocations: 3.219 kB / 456.2 MB, free: 46.67 MB / 410.7 MB Notification: Performance of Templates: time 0.004314/0.1918, allocations: 5.994 MB / 462.2 MB, free: 46.2 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.957854765467346] Failed to read output from testmodel.py, exit status != 0: 0.19704855605959892 0.20251697599999996 0.19106749199999995 Calling exit ...