Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.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.001271/0.001271, 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.007447/0.007447, allocations: 163.2 kB / 24.7 MB, free: 8.906 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.868/0.868, allocations: 177.1 MB / 205 MB, free: 5.742 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.2306/0.2306, 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.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 3.938 kB / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.026e-05, allocations: 6.219 kB / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.003691/0.003711, allocations: 4.475 MB / 436 MB, free: 8.598 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.004922, allocations: 1.27 MB / 437.2 MB, free: 7.324 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.005058, allocations: 23.81 kB / 437.2 MB, free: 7.301 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006447/0.005703, allocations: 394.2 kB / 437.6 MB, free: 6.914 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002965/0.005999, allocations: 254.5 kB / 437.9 MB, free: 6.664 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.006268, allocations: 171.4 kB / 438 MB, free: 6.496 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003685/0.006636, allocations: 0.5761 MB / 438.6 MB, free: 5.918 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002813/0.006918, allocations: 233.5 kB / 438.9 MB, free: 5.688 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003103/0.007228, allocations: 358.8 kB / 439.2 MB, free: 5.336 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002645/0.007492, allocations: 259.2 kB / 439.5 MB, free: 5.082 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.42e-05/0.007527, allocations: 32 kB / 439.5 MB, free: 5.051 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.007687, allocations: 127.8 kB / 439.6 MB, free: 4.926 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.007814, allocations: 199.5 kB / 439.8 MB, free: 4.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.007915, allocations: 143.7 kB / 439.9 MB, free: 4.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003868/0.008302, allocations: 0.5101 MB / 440.5 MB, free: 4.078 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.008309, allocations: 8 kB / 440.5 MB, free: 4.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.00831, allocations: 0 / 440.5 MB, free: 4.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.008315, allocations: 0 / 440.5 MB, free: 4.07 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.000725/0.00904, allocations: 0.631 MB / 441.1 MB, free: 3.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.009074, allocations: 11.98 kB / 441.1 MB, free: 3.398 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000323/0.009397, allocations: 92.59 kB / 441.2 MB, free: 3.309 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004157/0.009813, allocations: 347.9 kB / 441.5 MB, free: 2.934 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.009832, allocations: 25.38 kB / 441.6 MB, free: 2.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.824e-05/0.00992, allocations: 40.75 kB / 441.6 MB, free: 2.871 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004234/0.01034, allocations: 484.9 kB / 442.1 MB, free: 2.371 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.01036, allocations: 11.89 kB / 442.1 MB, free: 2.359 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.01038, allocations: 8 kB / 442.1 MB, free: 2.352 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-05/0.01044, allocations: 28.98 kB / 442.1 MB, free: 2.324 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003561/0.01079, allocations: 335.7 kB / 442.5 MB, free: 1.996 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.01201, allocations: 1.394 MB / 443.8 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.01221, allocations: 133.1 kB / 444 MB, free: 396 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.976e-05/0.01231, allocations: 101.7 kB / 444.1 MB, free: 288 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.01232, allocations: 288 / 444.1 MB, free: 288 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.01234, allocations: 38.55 kB / 444.1 MB, free: 240 kB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.072e-06/0.01234, allocations: 0 / 444.1 MB, free: 240 kB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.1676/0.18, allocations: 0.7075 MB / 444.8 MB, free: 54.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.18, allocations: 85.7 kB / 444.9 MB, free: 54.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.1802, allocations: 293 kB / 445.2 MB, free: 54.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.1802, allocations: 28.92 kB / 445.2 MB, free: 54.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.812e-05/0.1803, allocations: 259.2 kB / 445.5 MB, free: 54.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.1803, allocations: 69.14 kB / 445.5 MB, free: 54.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.604e-05/0.1804, allocations: 57.98 kB / 445.6 MB, free: 54.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.376e-05/0.1804, allocations: 341.8 kB / 445.9 MB, free: 53.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.478e-05/0.1805, allocations: 94.64 kB / 446 MB, free: 53.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.1806, allocations: 192.4 kB / 446.2 MB, free: 53.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.1808, allocations: 311.3 kB / 446.5 MB, free: 53.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1808, allocations: 7.156 kB / 446.5 MB, free: 53.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004559/0.1813, allocations: 454.2 kB / 447 MB, free: 53.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1813, allocations: 6.375 kB / 447 MB, free: 53.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002839/0.1816, allocations: 295 kB / 447.3 MB, free: 53.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002664/0.1818, allocations: 124.6 kB / 447.4 MB, free: 53.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.182, allocations: 56.09 kB / 447.4 MB, free: 53.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/0.1834, allocations: 2.232 MB / 449.7 MB, free: 51.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.1835, allocations: 14.23 kB / 449.7 MB, free: 51.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.1835, allocations: 16.7 kB / 449.7 MB, free: 51.64 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.0001303/0.1836, allocations: 190.4 kB / 449.9 MB, free: 51.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.1837, allocations: 28.2 kB / 449.9 MB, free: 51.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002246/0.1839, allocations: 250.7 kB / 450.2 MB, free: 51.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/0.1839, allocations: 0 / 450.2 MB, free: 51.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.1839, allocations: 6.688 kB / 450.2 MB, free: 51.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1839, allocations: 0 / 450.2 MB, free: 51.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005456/0.1844, allocations: 0.6031 MB / 450.8 MB, free: 50.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.1844, allocations: 3.156 kB / 450.8 MB, free: 50.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.1845, allocations: 42.36 kB / 450.8 MB, free: 50.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-05/0.1846, allocations: 28.08 kB / 450.8 MB, free: 50.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.1846, allocations: 11 kB / 450.8 MB, free: 50.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004602/0.1851, allocations: 1.458 MB / 452.3 MB, free: 49.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1851, allocations: 3.516 kB / 452.3 MB, free: 49.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.1853, allocations: 423.9 kB / 452.7 MB, free: 49.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.1853, allocations: 32.23 kB / 452.8 MB, free: 49.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.1854, allocations: 9.188 kB / 452.8 MB, free: 49.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.063e-05/0.1854, allocations: 6.453 kB / 452.8 MB, free: 49.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.466e-05/0.1855, allocations: 25.2 kB / 452.8 MB, free: 49.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.1855, allocations: 3.219 kB / 452.8 MB, free: 49.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.973e-05/0.1856, allocations: 199.8 kB / 453 MB, free: 49.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1856, allocations: 0 / 453 MB, free: 49.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002655/0.1858, allocations: 94.06 kB / 453.1 MB, free: 49.2 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): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.838e-05/0.1859, allocations: 96.98 kB / 453.2 MB, free: 49.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003799/0.1863, allocations: 389.8 kB / 453.6 MB, free: 48.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1863, allocations: 0 / 453.6 MB, free: 48.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.1864, allocations: 219.2 kB / 453.8 MB, free: 48.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.1867, allocations: 78.48 kB / 453.8 MB, free: 48.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007574/0.1875, allocations: 0.8327 MB / 454.7 MB, free: 48.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.1876, allocations: 232.2 kB / 454.9 MB, free: 48.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.25e-05/0.1876, allocations: 24.88 kB / 454.9 MB, free: 48.14 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1876, allocations: 4 kB / 454.9 MB, free: 48.14 MB / 410.7 MB Notification: Performance of Templates: time 0.004284/0.1919, allocations: 5.935 MB / 460.9 MB, free: 47.67 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.238625110127032] Failed to read output from testmodel.py, exit status != 0: 0.19696749467402697 0.20347262299999996 0.19377919899999996 Calling exit ...