Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Units.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.0008057/0.0008057, 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.004723/0.004723, allocations: 160.6 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.8703/0.8703, allocations: 177.1 MB / 205 MB, free: 5.75 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.2242/0.2242, 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.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.767e-06/3.767e-06, allocations: 0 / 431.4 MB, free: 13.12 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.015e-05/3.391e-05, allocations: 2.281 kB / 431.4 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.005017/0.005051, allocations: 5.786 MB / 437.2 MB, free: 7.297 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002639/0.00769, allocations: 1.889 MB / 439.1 MB, free: 5.402 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002537/0.007944, allocations: 27.75 kB / 439.2 MB, free: 5.375 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009566/0.0089, allocations: 0.6798 MB / 439.8 MB, free: 4.695 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005662/0.009466, allocations: 397.7 kB / 440.2 MB, free: 4.305 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006963/0.01016, allocations: 422.5 kB / 440.6 MB, free: 3.891 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006257/0.01079, allocations: 0.9626 MB / 441.6 MB, free: 2.926 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004118/0.0112, allocations: 400.2 kB / 442 MB, free: 2.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004905/0.01169, allocations: 0.557 MB / 442.5 MB, free: 1.961 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004284/0.01212, allocations: 0.5143 MB / 443.1 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.686e-05/0.01218, allocations: 60 kB / 443.1 MB, free: 1.387 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003249/0.0125, allocations: 239.5 kB / 443.3 MB, free: 1.152 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002578/0.01276, allocations: 450.9 kB / 443.8 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.01296, allocations: 291.4 kB / 444.1 MB, free: 436 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1691/0.1821, allocations: 1.048 MB / 445.1 MB, free: 45.72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1821, allocations: 0 / 445.1 MB, free: 45.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1821, allocations: 0 / 445.1 MB, free: 45.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.848e-05/0.1821, allocations: 0 / 445.1 MB, free: 45.72 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001155/0.1833, allocations: 1.009 MB / 446.1 MB, free: 45.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.1833, allocations: 15.33 kB / 446.1 MB, free: 45.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005582/0.1839, allocations: 208.3 kB / 446.3 MB, free: 45.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005413/0.1844, allocations: 489 kB / 446.8 MB, free: 44.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/0.1844, allocations: 65.97 kB / 446.9 MB, free: 44.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.153e-05/0.1845, allocations: 72.38 kB / 447 MB, free: 44.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009007/0.1854, allocations: 1.129 MB / 448.1 MB, free: 44.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.1854, allocations: 8.188 kB / 448.1 MB, free: 44.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.316e-05/0.1855, allocations: 33.94 kB / 448.1 MB, free: 44.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.366e-05/0.1855, allocations: 48.81 kB / 448.2 MB, free: 44.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007594/0.1863, allocations: 0.8602 MB / 449 MB, free: 44.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002435/0.1887, allocations: 4.696 MB / 453.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003981/0.1891, allocations: 399.7 kB / 454.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.1893, allocations: 192.2 kB / 454.3 MB, free: 41.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/0.1893, allocations: 12.14 kB / 454.3 MB, free: 41.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.1893, allocations: 37.41 kB / 454.4 MB, free: 41.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 2.565e-06/0.1893, allocations: 0 / 454.4 MB, free: 41.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.0011/0.1904, allocations: 1.084 MB / 455.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.1905, allocations: 82.77 kB / 455.5 MB, free: 41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.1907, allocations: 0.4907 MB / 456 MB, free: 40.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.1908, allocations: 33.7 kB / 456.1 MB, free: 40.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.1909, allocations: 459.4 kB / 456.5 MB, free: 40.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.922e-05/0.1909, allocations: 165.4 kB / 456.7 MB, free: 40.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.191, allocations: 153.7 kB / 456.8 MB, free: 40.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.629e-05/0.1911, allocations: 365.9 kB / 457.2 MB, free: 39.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.1913, allocations: 243.8 kB / 457.4 MB, free: 39.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002974/0.1916, allocations: 0.6159 MB / 458 MB, free: 39.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005626/0.1922, allocations: 0.9337 MB / 459 MB, free: 38.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1922, allocations: 7.156 kB / 459 MB, free: 38.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0006832/0.1928, allocations: 0.8893 MB / 459.9 MB, free: 38.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.1929, allocations: 12.66 kB / 459.9 MB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.1929, allocations: 16.34 kB / 459.9 MB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/0.1929, allocations: 18.81 kB / 459.9 MB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003455/0.1933, allocations: 217.3 kB / 460.1 MB, free: 38.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/0.1933, allocations: 32.91 kB / 460.1 MB, free: 38.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.1935, allocations: 54.33 kB / 460.2 MB, free: 38.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.1935, allocations: 48.03 kB / 460.2 MB, free: 38.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (99): * Single equations (assignments): 99 * Array equations: 0 * 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.0002286/0.1938, allocations: 303.5 kB / 460.5 MB, free: 38.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.1938, allocations: 53.75 kB / 460.6 MB, free: 38.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004906/0.1943, allocations: 0.5639 MB / 461.2 MB, free: 37.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.1943, allocations: 3.281 kB / 461.2 MB, free: 37.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1943, allocations: 7.328 kB / 461.2 MB, free: 37.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1943, allocations: 3.281 kB / 461.2 MB, free: 37.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.1953, allocations: 1.158 MB / 462.3 MB, free: 37.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1953, allocations: 3.031 kB / 462.3 MB, free: 37.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.1956, allocations: 112.9 kB / 462.4 MB, free: 37.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.1956, allocations: 3.344 kB / 462.4 MB, free: 37.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.1956, allocations: 21.06 kB / 462.5 MB, free: 37.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.1956, allocations: 3.062 kB / 462.5 MB, free: 37.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1956, allocations: 3.094 kB / 462.5 MB, free: 37.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003956/0.196, allocations: 0.6402 MB / 463.1 MB, free: 36.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.222e-05/0.196, allocations: 54.36 kB / 463.2 MB, free: 36.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.39e-05/0.1961, allocations: 9.562 kB / 463.2 MB, free: 36.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.1962, allocations: 23.67 kB / 463.2 MB, free: 36.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.1962, allocations: 39.97 kB / 463.2 MB, free: 36.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.1962, allocations: 16.59 kB / 463.3 MB, free: 36.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001656/0.1964, allocations: 312.1 kB / 463.6 MB, free: 36.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1964, allocations: 0 / 463.6 MB, free: 36.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004057/0.1968, allocations: 161.1 kB / 463.7 MB, free: 36.63 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (51): * Single equations (assignments): 50 * Array equations: 0 * 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 8.951e-05/0.1969, allocations: 114.6 kB / 463.8 MB, free: 36.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005001/0.1974, allocations: 0.5846 MB / 464.4 MB, free: 36.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1974, allocations: 3.156 kB / 464.4 MB, free: 36.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.1976, allocations: 218.7 kB / 464.6 MB, free: 36.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004645/0.198, allocations: 113 kB / 464.7 MB, free: 36.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.1993, allocations: 1.421 MB / 466.2 MB, free: 35.56 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.1996, allocations: 411.3 kB / 466.6 MB, free: 35.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.1997, allocations: 59.2 kB / 466.6 MB, free: 35.41 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/0.1997, allocations: 0 / 466.6 MB, free: 35.41 MB / 410.7 MB Notification: Performance of Templates: time 0.006668/0.2063, allocations: 8.626 MB / 475.2 MB, free: 34.7 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Units.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Units.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Units -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Units.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.353326316922903] Failed to read output from testmodel.py, exit status != 0: 0.21249377075582743 0.22200877000000002 0.037964081000000004 Calling exit ...