Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.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.00074/0.00074, 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.002971/0.002971, allocations: 160.4 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.8513/0.8513, allocations: 177.1 MB / 205 MB, free: 5.746 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.2261/0.2261, 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.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/1.984e-05, allocations: 6.219 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.003588/0.003608, allocations: 4.3 MB / 435.8 MB, free: 8.766 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.005043, allocations: 1.472 MB / 437.2 MB, free: 7.289 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.005186, allocations: 15.88 kB / 437.3 MB, free: 7.273 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008144/0.006, allocations: 286.5 kB / 437.5 MB, free: 6.992 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003522/0.006352, allocations: 298.3 kB / 437.8 MB, free: 6.699 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003896/0.006742, allocations: 259.1 kB / 438.1 MB, free: 6.445 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003857/0.007128, allocations: 0.6195 MB / 438.7 MB, free: 5.824 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002612/0.007389, allocations: 196 kB / 438.9 MB, free: 5.629 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003147/0.007703, allocations: 370.9 kB / 439.3 MB, free: 5.266 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002975/0.008001, allocations: 359.1 kB / 439.6 MB, free: 4.914 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.024e-05/0.008041, allocations: 40 kB / 439.6 MB, free: 4.875 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002601/0.008301, allocations: 227.5 kB / 439.9 MB, free: 4.652 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.008446, allocations: 247.3 kB / 440.1 MB, free: 4.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.008563, allocations: 167.6 kB / 440.3 MB, free: 4.246 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005161/0.009079, allocations: 0.7088 MB / 441 MB, free: 3.535 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.009081, allocations: 0 / 441 MB, free: 3.535 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.009082, allocations: 3.938 kB / 441 MB, free: 3.531 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.009088, allocations: 0 / 441 MB, free: 3.531 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.0008363/0.009925, allocations: 0.7094 MB / 441.7 MB, free: 2.789 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.009956, allocations: 11.98 kB / 441.7 MB, free: 2.777 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004245/0.01038, allocations: 132.5 kB / 441.8 MB, free: 2.648 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004116/0.01079, allocations: 348 kB / 442.2 MB, free: 2.281 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.01081, allocations: 29.36 kB / 442.2 MB, free: 2.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.01092, allocations: 56.67 kB / 442.3 MB, free: 2.195 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006189/0.01154, allocations: 0.7032 MB / 443 MB, free: 1.457 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.01155, allocations: 0 / 443 MB, free: 1.457 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.966e-05/0.01158, allocations: 15.98 kB / 443 MB, free: 1.441 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001103/0.01169, allocations: 68.95 kB / 443 MB, free: 1.371 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006254/0.01232, allocations: 0.6635 MB / 443.7 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.172/0.1844, allocations: 2.422 MB / 446.1 MB, free: 53.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.1847, allocations: 288.6 kB / 446.4 MB, free: 53.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.1848, allocations: 194.6 kB / 446.6 MB, free: 53.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.1848, allocations: 6.281 kB / 446.6 MB, free: 53.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.1849, allocations: 41.83 kB / 446.7 MB, free: 53.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 2.385e-06/0.1849, allocations: 0 / 446.7 MB, free: 53.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.001203/0.1861, allocations: 1.227 MB / 447.9 MB, free: 52.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.1861, allocations: 83.86 kB / 448 MB, free: 52.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.1862, allocations: 277.8 kB / 448.2 MB, free: 52.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.1863, allocations: 33.27 kB / 448.3 MB, free: 52.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.643e-05/0.1863, allocations: 267.7 kB / 448.5 MB, free: 52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.1864, allocations: 137 kB / 448.7 MB, free: 51.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.283e-05/0.1865, allocations: 90.05 kB / 448.7 MB, free: 51.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.824e-05/0.1865, allocations: 346.7 kB / 449.1 MB, free: 51.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.1866, allocations: 185.8 kB / 449.3 MB, free: 51.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.1868, allocations: 326.8 kB / 449.6 MB, free: 51.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003534/0.1872, allocations: 0.5575 MB / 450.1 MB, free: 50.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1872, allocations: 0 / 450.1 MB, free: 50.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006119/0.1878, allocations: 0.6736 MB / 450.8 MB, free: 50.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1878, allocations: 6.562 kB / 450.8 MB, free: 50.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004128/0.1882, allocations: 499.9 kB / 451.3 MB, free: 50.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002351/0.1884, allocations: 113.3 kB / 451.4 MB, free: 50.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.1886, allocations: 79.48 kB / 451.5 MB, free: 50.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/0.1898, allocations: 3.004 MB / 454.5 MB, free: 47.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.1899, allocations: 24.08 kB / 454.5 MB, free: 47.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.1899, allocations: 19.86 kB / 454.5 MB, free: 47.82 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 (45): * Single equations (assignments): 41 * Array equations: 2 * 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): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001281/0.1901, allocations: 209.9 kB / 454.8 MB, free: 47.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/0.1901, allocations: 38.34 kB / 454.8 MB, free: 47.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003709/0.1905, allocations: 476.4 kB / 455.3 MB, free: 47.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.1905, allocations: 17.41 kB / 455.3 MB, free: 47.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.1905, allocations: 3.219 kB / 455.3 MB, free: 47.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.1905, allocations: 0 / 455.3 MB, free: 47.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006814/0.1912, allocations: 0.8978 MB / 456.2 MB, free: 47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1912, allocations: 3.125 kB / 456.2 MB, free: 47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.1913, allocations: 65.03 kB / 456.2 MB, free: 47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.1913, allocations: 3.25 kB / 456.2 MB, free: 47 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.1914, allocations: 10.73 kB / 456.3 MB, free: 46.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1914, allocations: 1.531 kB / 456.3 MB, free: 46.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1914, allocations: 3.344 kB / 456.3 MB, free: 46.99 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005072/0.1919, allocations: 0.7412 MB / 457 MB, free: 46.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.446e-05/0.1919, allocations: 60.89 kB / 457.1 MB, free: 46.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.192, allocations: 17.02 kB / 457.1 MB, free: 46.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.174e-05/0.1921, allocations: 13.95 kB / 457.1 MB, free: 46.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.1921, allocations: 20.88 kB / 457.1 MB, free: 46.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.1921, allocations: 10.53 kB / 457.1 MB, free: 46.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.707e-05/0.1922, allocations: 197.1 kB / 457.3 MB, free: 46.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1922, allocations: 0 / 457.3 MB, free: 46.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003414/0.1925, allocations: 112.8 kB / 457.4 MB, free: 46.47 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 (30): * Single equations (assignments): 27 * 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.0001956/0.1927, allocations: 135.5 kB / 457.6 MB, free: 46.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005561/0.1933, allocations: 0.6783 MB / 458.2 MB, free: 46.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1933, allocations: 7.938 kB / 458.2 MB, free: 46.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.1934, allocations: 193.6 kB / 458.4 MB, free: 45.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.1938, allocations: 72.03 kB / 458.5 MB, free: 45.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009669/0.1947, allocations: 1.085 MB / 459.6 MB, free: 45.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.1949, allocations: 270.5 kB / 459.9 MB, free: 45.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.15e-05/0.1949, allocations: 34.91 kB / 459.9 MB, free: 45.25 MB / 410.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1949, allocations: 0 / 459.9 MB, free: 45.25 MB / 410.7 MB Notification: Performance of Templates: time 0.005492/0.2004, allocations: 7.239 MB / 467.1 MB, free: 44.69 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4497572258114815] Failed to read output from testmodel.py, exit status != 0: 0.20567951072007418 0.212156909 0.201429451 Calling exit ...