Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.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.0007956/0.0007956, 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.003603/0.003603, allocations: 160.7 kB / 24.7 MB, free: 8.898 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.878/0.878, allocations: 177.1 MB / 205 MB, free: 5.727 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.2087/0.2087, allocations: 29.41 MB / 290.8 MB, free: 2.414 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.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines") translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.666e-05/2.823e-05, allocations: 8.047 kB / 431.5 MB, free: 13.06 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.004645/0.004674, allocations: 5.191 MB / 436.7 MB, free: 7.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004446/0.00912, allocations: 3.821 MB / 440.5 MB, free: 4.004 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003793/0.009499, allocations: 23.81 kB / 440.5 MB, free: 3.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1619/0.1714, allocations: 5.406 MB / 445.9 MB, free: 46.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007851/0.1722, allocations: 361.1 kB / 446.3 MB, free: 46.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004674/0.1727, allocations: 261.4 kB / 446.5 MB, free: 46.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001316/0.174, allocations: 1.669 MB / 448.2 MB, free: 46.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003925/0.1744, allocations: 319.9 kB / 448.5 MB, free: 46.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003742/0.1747, allocations: 0.4946 MB / 449 MB, free: 46.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003601/0.1751, allocations: 427.2 kB / 449.4 MB, free: 46.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.672e-05/0.1751, allocations: 46.19 kB / 449.5 MB, free: 46.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.1753, allocations: 124 kB / 449.6 MB, free: 46.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.1755, allocations: 301.8 kB / 449.9 MB, free: 46.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.1756, allocations: 222.6 kB / 450.1 MB, free: 46.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005426/0.1762, allocations: 0.7504 MB / 450.8 MB, free: 46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1762, allocations: 0 / 450.8 MB, free: 46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1762, allocations: 0 / 450.8 MB, free: 46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1762, allocations: 0 / 450.8 MB, free: 46 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.00101/0.1772, allocations: 0.8427 MB / 451.7 MB, free: 45.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.1772, allocations: 10.3 kB / 451.7 MB, free: 45.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002874/0.1775, allocations: 103 kB / 451.8 MB, free: 45.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005817/0.1781, allocations: 498.2 kB / 452.3 MB, free: 45.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.1781, allocations: 37.95 kB / 452.3 MB, free: 45.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.008e-05/0.1782, allocations: 52.34 kB / 452.4 MB, free: 45.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005563/0.1787, allocations: 0.6516 MB / 453 MB, free: 45.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.1787, allocations: 3.969 kB / 453 MB, free: 45.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/0.1788, allocations: 22.22 kB / 453.1 MB, free: 45.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-05/0.1788, allocations: 49.59 kB / 453.1 MB, free: 45.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004378/0.1793, allocations: 490.4 kB / 453.6 MB, free: 45.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.1809, allocations: 2.259 MB / 455.8 MB, free: 43.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.1812, allocations: 302.5 kB / 456.1 MB, free: 43.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.1814, allocations: 162.4 kB / 456.3 MB, free: 43.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.1814, allocations: 3.094 kB / 456.3 MB, free: 43.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.1814, allocations: 49.56 kB / 456.3 MB, free: 43.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.986e-06/0.1814, allocations: 2.906 kB / 456.3 MB, free: 43.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.001399/0.1828, allocations: 1.263 MB / 457.6 MB, free: 42.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.1828, allocations: 113.1 kB / 457.7 MB, free: 42.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.1831, allocations: 408.1 kB / 458.1 MB, free: 42.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.1831, allocations: 32.95 kB / 458.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.1832, allocations: 307.9 kB / 458.5 MB, free: 42.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.119e-05/0.1832, allocations: 128.8 kB / 458.6 MB, free: 42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.713e-05/0.1833, allocations: 90.55 kB / 458.7 MB, free: 41.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.229e-05/0.1834, allocations: 357.6 kB / 459 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.1835, allocations: 165 kB / 459.2 MB, free: 41.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.1837, allocations: 296.6 kB / 459.5 MB, free: 41.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/0.1841, allocations: 499.5 kB / 460 MB, free: 41.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1841, allocations: 0 / 460 MB, free: 41.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006862/0.1847, allocations: 0.7169 MB / 460.7 MB, free: 40.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.1848, allocations: 7.531 kB / 460.7 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1848, allocations: 6.219 kB / 460.7 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000355/0.1851, allocations: 210.9 kB / 460.9 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.1853, allocations: 73.39 kB / 461 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002272/0.1876, allocations: 3.946 MB / 464.9 MB, free: 37.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.1877, allocations: 20.92 kB / 464.9 MB, free: 37.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.1877, allocations: 23.28 kB / 465 MB, free: 37.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001868/0.1879, allocations: 222.4 kB / 465.2 MB, free: 37.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.781e-05/0.188, allocations: 45.86 kB / 465.2 MB, free: 37.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004923/0.1885, allocations: 494.2 kB / 465.7 MB, free: 37.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1885, allocations: 3.375 kB / 465.7 MB, free: 37.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1885, allocations: 3.219 kB / 465.7 MB, free: 37.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1885, allocations: 7.312 kB / 465.7 MB, free: 37.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008258/0.1893, allocations: 0.9064 MB / 466.6 MB, free: 36.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.1893, allocations: 3.469 kB / 466.6 MB, free: 36.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.1895, allocations: 76.22 kB / 466.7 MB, free: 36.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.53e-05/0.1896, allocations: 56.97 kB / 466.7 MB, free: 36.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.1896, allocations: 20.09 kB / 466.8 MB, free: 36.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007706/0.1904, allocations: 2.576 MB / 469.3 MB, free: 34.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1904, allocations: 0 / 469.3 MB, free: 34.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005866/0.191, allocations: 0.8058 MB / 470.1 MB, free: 33.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.617e-05/0.1911, allocations: 67.72 kB / 470.2 MB, free: 33.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.1911, allocations: 14.22 kB / 470.2 MB, free: 33.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.1912, allocations: 10.45 kB / 470.2 MB, free: 33.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.1913, allocations: 30.58 kB / 470.3 MB, free: 33.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.1913, allocations: 10.03 kB / 470.3 MB, free: 33.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001623/0.1915, allocations: 267.8 kB / 470.5 MB, free: 33.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1915, allocations: 0 / 470.5 MB, free: 33.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004304/0.1919, allocations: 135.9 kB / 470.7 MB, free: 33.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asynchron.i[3],asynchron.phi_el,asynchron.psi_s[1],asynchron.psi_s[2],asynchron.psi_rd[1],asynchron.psi_rq[1],rotor.w) * 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 (35): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001104/0.192, allocations: 113.4 kB / 470.8 MB, free: 33.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007302/0.1927, allocations: 0.7171 MB / 471.5 MB, free: 33.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1927, allocations: 4.188 kB / 471.5 MB, free: 33.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.193, allocations: 404.3 kB / 471.9 MB, free: 32.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.1934, allocations: 108 kB / 472 MB, free: 32.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.1948, allocations: 1.383 MB / 473.4 MB, free: 32.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.195, allocations: 337.1 kB / 473.7 MB, free: 32.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.97e-05/0.1951, allocations: 50.81 kB / 473.8 MB, free: 32.02 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/0.1951, allocations: 0 / 473.8 MB, free: 32.02 MB / 410.7 MB Notification: Performance of Templates: time 0.01084/0.2059, allocations: 11.46 MB / 485.2 MB, free: 31.07 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.543889773078263] Failed to read output from testmodel.py, exit status != 0: 0.21348252426832914 0.22859425100000003 0.049452880000000005 Calling exit ...