Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.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.0008268/0.0008268, 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.004185/0.004185, allocations: 160.2 kB / 24.7 MB, free: 9.426 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.8934/0.8934, 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.232/0.232, allocations: 29.41 MB / 290.8 MB, free: 2.406 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.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.661e-05, allocations: 3.828 kB / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.00391/0.003937, allocations: 4.311 MB / 435.8 MB, free: 8.766 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.005621, allocations: 1.39 MB / 437.2 MB, free: 7.371 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/0.00581, allocations: 19.81 kB / 437.2 MB, free: 7.352 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006782/0.006488, allocations: 366.4 kB / 437.5 MB, free: 6.992 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00044/0.006928, allocations: 266.4 kB / 437.8 MB, free: 6.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004883/0.007417, allocations: 247.3 kB / 438 MB, free: 6.488 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004687/0.007885, allocations: 0.5766 MB / 438.6 MB, free: 5.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003096/0.008195, allocations: 221.5 kB / 438.8 MB, free: 5.691 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003795/0.008575, allocations: 354.8 kB / 439.2 MB, free: 5.344 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003401/0.008915, allocations: 347.2 kB / 439.5 MB, free: 5.004 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.517e-05/0.00896, allocations: 36 kB / 439.6 MB, free: 4.969 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000319/0.009279, allocations: 223.6 kB / 439.8 MB, free: 4.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.009449, allocations: 263.3 kB / 440 MB, free: 4.492 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.009583, allocations: 179.6 kB / 440.2 MB, free: 4.316 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006632/0.01025, allocations: 0.7049 MB / 440.9 MB, free: 3.609 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.01025, allocations: 0 / 440.9 MB, free: 3.609 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.01025, allocations: 0 / 440.9 MB, free: 3.609 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.01026, allocations: 0 / 440.9 MB, free: 3.609 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0009646/0.01122, allocations: 0.7056 MB / 441.6 MB, free: 2.871 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.01126, allocations: 15.98 kB / 441.6 MB, free: 2.855 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004342/0.01169, allocations: 128.5 kB / 441.8 MB, free: 2.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004856/0.01218, allocations: 359.9 kB / 442.1 MB, free: 2.344 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.0122, allocations: 29.38 kB / 442.1 MB, free: 2.316 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.159e-05/0.01229, allocations: 48.45 kB / 442.2 MB, free: 2.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006383/0.01293, allocations: 0.6807 MB / 442.9 MB, free: 1.551 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.01294, allocations: 4 kB / 442.9 MB, free: 1.547 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.632e-05/0.01298, allocations: 19.98 kB / 442.9 MB, free: 1.527 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.038e-05/0.01307, allocations: 52.95 kB / 442.9 MB, free: 1.477 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006564/0.01373, allocations: 0.6674 MB / 443.6 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1727/0.1864, allocations: 2.298 MB / 445.9 MB, free: 53.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003569/0.1868, allocations: 305.2 kB / 446.2 MB, free: 53.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.187, allocations: 205 kB / 446.4 MB, free: 53.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.187, allocations: 3.344 kB / 446.4 MB, free: 53.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.187, allocations: 39.69 kB / 446.4 MB, free: 53.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 2.144e-06/0.187, allocations: 0 / 446.4 MB, free: 53.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.001285/0.1883, allocations: 1.284 MB / 447.7 MB, free: 52.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.1883, allocations: 87.92 kB / 447.8 MB, free: 52.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.1885, allocations: 297.5 kB / 448.1 MB, free: 52.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.1885, allocations: 32.69 kB / 448.1 MB, free: 52.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.447e-05/0.1886, allocations: 259.5 kB / 448.4 MB, free: 52.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.984e-05/0.1886, allocations: 161.6 kB / 448.5 MB, free: 51.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.498e-05/0.1887, allocations: 94.41 kB / 448.6 MB, free: 51.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.27e-05/0.1888, allocations: 353 kB / 449 MB, free: 51.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.1889, allocations: 195.1 kB / 449.2 MB, free: 51.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.1891, allocations: 369.8 kB / 449.5 MB, free: 51.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003823/0.1895, allocations: 0.6072 MB / 450.1 MB, free: 50.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1895, allocations: 0 / 450.1 MB, free: 50.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0004845/0.19, allocations: 0.6313 MB / 450.8 MB, free: 50.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.19, allocations: 6.5 kB / 450.8 MB, free: 50.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.19, allocations: 7.188 kB / 450.8 MB, free: 50.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.19, allocations: 9.688 kB / 450.8 MB, free: 50.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.1902, allocations: 113.1 kB / 450.9 MB, free: 50.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.1902, allocations: 14.12 kB / 450.9 MB, free: 50.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.1904, allocations: 24.06 kB / 450.9 MB, free: 50.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.1904, allocations: 23 kB / 451 MB, free: 50.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 55 * Array equations: 2 * Algorithm blocks: 0 * 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.0001244/0.1905, allocations: 213 kB / 451.2 MB, free: 50.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/0.1906, allocations: 38.84 kB / 451.2 MB, free: 50.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000411/0.191, allocations: 0.4899 MB / 451.7 MB, free: 50.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.191, allocations: 12.92 kB / 451.7 MB, free: 50.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.191, allocations: 0 / 451.7 MB, free: 50.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.191, allocations: 1 kB / 451.7 MB, free: 50.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008658/0.1919, allocations: 0.9868 MB / 452.7 MB, free: 49.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1919, allocations: 0 / 452.7 MB, free: 49.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.192, allocations: 71.88 kB / 452.8 MB, free: 49.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.192, allocations: 3.734 kB / 452.8 MB, free: 49.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.1921, allocations: 10.61 kB / 452.8 MB, free: 49.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1921, allocations: 3.25 kB / 452.8 MB, free: 49.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1921, allocations: 7.188 kB / 452.8 MB, free: 49.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005522/0.1926, allocations: 0.8184 MB / 453.6 MB, free: 49.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.764e-05/0.1926, allocations: 33.3 kB / 453.6 MB, free: 49.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.1927, allocations: 12.59 kB / 453.7 MB, free: 49.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.393e-05/0.1928, allocations: 13.77 kB / 453.7 MB, free: 49.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/0.1928, allocations: 22.81 kB / 453.7 MB, free: 49.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.1928, allocations: 17.06 kB / 453.7 MB, free: 49.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.298e-05/0.1929, allocations: 202.6 kB / 453.9 MB, free: 49.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1929, allocations: 0 / 453.9 MB, free: 49.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002938/0.1932, allocations: 111 kB / 454 MB, free: 49.21 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.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 (33): * Single equations (assignments): 30 * Array equations: 2 * 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.000185/0.1934, allocations: 135.1 kB / 454.2 MB, free: 49.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004165/0.1938, allocations: 469.7 kB / 454.6 MB, free: 48.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1938, allocations: 0 / 454.6 MB, free: 48.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.194, allocations: 208.3 kB / 454.8 MB, free: 48.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.1943, allocations: 79.41 kB / 454.9 MB, free: 48.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000992/0.1953, allocations: 1.096 MB / 456 MB, free: 48.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.1954, allocations: 271.5 kB / 456.3 MB, free: 48.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.153e-05/0.1955, allocations: 40.62 kB / 456.3 MB, free: 48.2 MB / 410.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1955, allocations: 0 / 456.3 MB, free: 48.2 MB / 410.7 MB Notification: Performance of Templates: time 0.004808/0.2003, allocations: 5.868 MB / 462.2 MB, free: 47.73 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & ./PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.910378768108785] Failed to read output from testmodel.py, exit status != 0: 0.20554209034889936 0.21210267700000002 0.20032243000000002 Calling exit ...