Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.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.0008095/0.0008095, 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.004418/0.004418, 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.858/0.858, 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.2155/0.2155, allocations: 29.41 MB / 290.8 MB, free: 2.426 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.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.211e-05, allocations: 4.109 kB / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.003971/0.003993, allocations: 4.448 MB / 435.9 MB, free: 8.621 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.005282, allocations: 1.266 MB / 437.2 MB, free: 7.352 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.005433, allocations: 19.88 kB / 437.2 MB, free: 7.332 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000675/0.006108, allocations: 398.2 kB / 437.6 MB, free: 6.941 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003137/0.006422, allocations: 250.6 kB / 437.8 MB, free: 6.695 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.006695, allocations: 175.4 kB / 438 MB, free: 6.523 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003872/0.007082, allocations: 0.5723 MB / 438.6 MB, free: 5.949 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002916/0.007374, allocations: 237.4 kB / 438.8 MB, free: 5.715 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003188/0.007693, allocations: 350.9 kB / 439.2 MB, free: 5.371 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000296/0.007988, allocations: 263.3 kB / 439.4 MB, free: 5.113 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.259e-05/0.008021, allocations: 32 kB / 439.5 MB, free: 5.082 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.008186, allocations: 135.6 kB / 439.6 MB, free: 4.949 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.008313, allocations: 215.4 kB / 439.8 MB, free: 4.738 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.008417, allocations: 143.7 kB / 439.9 MB, free: 4.598 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003922/0.008809, allocations: 0.5102 MB / 440.4 MB, free: 4.086 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.008811, allocations: 0 / 440.4 MB, free: 4.086 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.008812, allocations: 3.938 kB / 440.4 MB, free: 4.082 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.008817, allocations: 0 / 440.4 MB, free: 4.082 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0007453/0.009563, allocations: 0.6349 MB / 441.1 MB, free: 3.418 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.009597, allocations: 11.98 kB / 441.1 MB, free: 3.406 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000336/0.009933, allocations: 92.59 kB / 441.2 MB, free: 3.316 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004253/0.01036, allocations: 344 kB / 441.5 MB, free: 2.945 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.01038, allocations: 29.38 kB / 441.5 MB, free: 2.918 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-05/0.01047, allocations: 40.73 kB / 441.6 MB, free: 2.879 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007015/0.01117, allocations: 484.9 kB / 442.1 MB, free: 2.379 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.01118, allocations: 0 / 442.1 MB, free: 2.379 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.01121, allocations: 12 kB / 442.1 MB, free: 2.367 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.879e-05/0.01127, allocations: 28.98 kB / 442.1 MB, free: 2.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003387/0.0116, allocations: 351.7 kB / 442.4 MB, free: 1.996 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.01283, allocations: 1.409 MB / 443.9 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.01303, allocations: 149 kB / 444 MB, free: 364 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.01313, allocations: 101.7 kB / 444.1 MB, free: 256 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.01315, allocations: 7.938 kB / 444.1 MB, free: 248 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.01317, allocations: 42.56 kB / 444.1 MB, free: 196 kB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.143e-06/0.01317, allocations: 0 / 444.1 MB, free: 196 kB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.1689/0.182, allocations: 0.7381 MB / 444.9 MB, free: 54.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.1821, allocations: 78.61 kB / 445 MB, free: 54.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.1822, allocations: 296.9 kB / 445.3 MB, free: 54.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.1823, allocations: 31.77 kB / 445.3 MB, free: 54.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.443e-05/0.1823, allocations: 262.3 kB / 445.5 MB, free: 54.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.1824, allocations: 61.62 kB / 445.6 MB, free: 54.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.664e-05/0.1824, allocations: 61.25 kB / 445.7 MB, free: 54.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.043e-05/0.1825, allocations: 342.4 kB / 446 MB, free: 53.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.917e-05/0.1826, allocations: 99.83 kB / 446.1 MB, free: 53.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.1827, allocations: 198.3 kB / 446.3 MB, free: 53.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.1829, allocations: 330 kB / 446.6 MB, free: 53.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1829, allocations: 3.031 kB / 446.6 MB, free: 53.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004717/0.1834, allocations: 467.2 kB / 447.1 MB, free: 53.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1834, allocations: 9.703 kB / 447.1 MB, free: 53.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002915/0.1837, allocations: 303.1 kB / 447.4 MB, free: 53.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002789/0.1839, allocations: 138.2 kB / 447.5 MB, free: 53.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.1841, allocations: 53.14 kB / 447.6 MB, free: 53.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/0.1855, allocations: 2.296 MB / 449.9 MB, free: 51.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.892e-05/0.1856, allocations: 20.64 kB / 449.9 MB, free: 51.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.1856, allocations: 13.72 kB / 449.9 MB, free: 51.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 28 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001335/0.1857, allocations: 186.5 kB / 450.1 MB, free: 51.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.1857, allocations: 33.22 kB / 450.1 MB, free: 51.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002306/0.186, allocations: 263 kB / 450.4 MB, free: 51.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.186, allocations: 6.938 kB / 450.4 MB, free: 51.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.186, allocations: 6.875 kB / 450.4 MB, free: 51.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.186, allocations: 3.062 kB / 450.4 MB, free: 51.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005142/0.1865, allocations: 0.6284 MB / 451 MB, free: 50.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1865, allocations: 6.438 kB / 451 MB, free: 50.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.974e-05/0.1866, allocations: 39.7 kB / 451.1 MB, free: 50.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.372e-05/0.1866, allocations: 35.88 kB / 451.1 MB, free: 50.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.1867, allocations: 9.562 kB / 451.1 MB, free: 50.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1867, allocations: 3.281 kB / 451.1 MB, free: 50.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1867, allocations: 0 / 451.1 MB, free: 50.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.1869, allocations: 443.4 kB / 451.5 MB, free: 50.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.274e-05/0.1869, allocations: 28.91 kB / 451.6 MB, free: 50.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.187, allocations: 9.719 kB / 451.6 MB, free: 50.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.951e-05/0.187, allocations: 11.97 kB / 451.6 MB, free: 50.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.218e-05/0.1871, allocations: 17.61 kB / 451.6 MB, free: 50.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.1871, allocations: 6.25 kB / 451.6 MB, free: 50.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.144e-05/0.1872, allocations: 203.7 kB / 451.8 MB, free: 50.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1872, allocations: 0 / 451.8 MB, free: 50.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000263/0.1874, allocations: 92.41 kB / 451.9 MB, free: 50.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.15e-05/0.1875, allocations: 103 kB / 452 MB, free: 50.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00038/0.1879, allocations: 396.5 kB / 452.4 MB, free: 50.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1879, allocations: 2.188 kB / 452.4 MB, free: 50.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.727e-05/0.188, allocations: 105 kB / 452.5 MB, free: 50.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.1883, allocations: 56.48 kB / 452.5 MB, free: 50.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007354/0.189, allocations: 0.8344 MB / 453.4 MB, free: 49.56 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.1891, allocations: 236.7 kB / 453.6 MB, free: 49.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.533e-05/0.1892, allocations: 27.83 kB / 453.6 MB, free: 49.46 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.1892, allocations: 0 / 453.6 MB, free: 49.46 MB / 410.7 MB Notification: Performance of Templates: time 0.004476/0.1936, allocations: 5.946 MB / 459.6 MB, free: 48.99 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.864010923542082] Failed to read output from testmodel.py, exit status != 0: 0.19825924653559923 0.20363980699999995 0.19360970099999994 Calling exit ...