Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank") translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 114.1 kB / 17.13 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 200 kB / 18.06 MB, free: 5.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.119/2.119, allocations: 222.9 MB / 241.8 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.08606/0.08606, allocations: 8.099 MB / 300 MB, free: 6.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 64.09 kB / 415.2 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1463, allocations: 51.51 MB / 466.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.003631/0.15, allocations: 1.402 MB / 468.1 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003149/0.1532, allocations: 1.512 MB / 469.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.1534, allocations: 0 / 469.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005743/0.1539, allocations: 123.4 kB / 469.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004563/0.1545, allocations: 95.38 kB / 469.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002481/0.157, allocations: 0.8905 MB / 470.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005084/0.1575, allocations: 195 kB / 470.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002498/0.1578, allocations: 77.61 kB / 470.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.1579, allocations: 75.7 kB / 471 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002566/0.1582, allocations: 103.5 kB / 471.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.015e-05/0.1583, allocations: 16 kB / 471.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006682/0.1589, allocations: 203.8 kB / 471.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.782e-05/0.159, allocations: 51.7 kB / 471.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.1592, allocations: 83.61 kB / 471.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007018/0.1599, allocations: 354.9 kB / 471.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.1599, allocations: 0 / 471.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1599, allocations: 4 kB / 471.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.1599, allocations: 0 / 471.8 MB, free: 12.99 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.002849/0.1628, allocations: 0.6707 MB / 472.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.1629, allocations: 15.89 kB / 472.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.163, allocations: 16.75 kB / 472.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/0.1634, allocations: 236.8 kB / 472.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.1635, allocations: 12.66 kB / 472.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.714e-05/0.1635, allocations: 20.38 kB / 472.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005602/0.1641, allocations: 212.3 kB / 473 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.1641, allocations: 4.188 kB / 473 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/0.1642, allocations: 11.94 kB / 473 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.1642, allocations: 4 kB / 473 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005125/0.1647, allocations: 200.7 kB / 473.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001947/0.1667, allocations: 0.8385 MB / 474 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.1678, allocations: 375.5 kB / 474.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003393/0.1682, allocations: 136.8 kB / 474.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-05/0.1683, allocations: 11.98 kB / 474.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.661e-05/0.1683, allocations: 30.56 kB / 474.6 MB, free: 9.996 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.735e-06/0.1683, allocations: 4 kB / 474.6 MB, free: 9.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.003397/0.1717, allocations: 0.7256 MB / 475.3 MB, free: 9.238 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/0.1718, allocations: 55.41 kB / 475.4 MB, free: 9.172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.1722, allocations: 178.3 kB / 475.5 MB, free: 8.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.5e-05/0.1722, allocations: 33.7 kB / 475.6 MB, free: 8.949 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.1724, allocations: 124.3 kB / 475.7 MB, free: 8.824 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.382e-05/0.1725, allocations: 74.91 kB / 475.8 MB, free: 8.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.1727, allocations: 53.7 kB / 475.8 MB, free: 8.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.1729, allocations: 334.8 kB / 476.2 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/0.1732, allocations: 120 kB / 476.3 MB, free: 8.238 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.1735, allocations: 123.9 kB / 476.4 MB, free: 8.117 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006751/0.1742, allocations: 276.8 kB / 476.7 MB, free: 7.844 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1742, allocations: 0 / 476.7 MB, free: 7.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001653/0.1759, allocations: 494.5 kB / 477.1 MB, free: 7.352 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/0.1759, allocations: 7.938 kB / 477.2 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.176, allocations: 0 / 477.2 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.1771, allocations: 176.6 kB / 477.3 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002527/0.1774, allocations: 39.91 kB / 477.4 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00501/0.1824, allocations: 2.351 MB / 479.7 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/0.1828, allocations: 23.73 kB / 479.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/0.1828, allocations: 12 kB / 479.8 MB, free: 4.598 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002606/0.1831, allocations: 133.8 kB / 479.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.264e-05/0.1832, allocations: 20.09 kB / 479.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001619/0.1848, allocations: 467.8 kB / 480.4 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.1849, allocations: 4 kB / 480.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.1849, allocations: 3.938 kB / 480.4 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.1849, allocations: 3.984 kB / 480.4 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002164/0.1871, allocations: 0.8582 MB / 481.2 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1871, allocations: 0 / 481.2 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.1872, allocations: 23.98 kB / 481.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00105/0.1883, allocations: 180.6 kB / 481.4 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.1883, allocations: 4 kB / 481.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004484/0.1928, allocations: 2.324 MB / 483.8 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.1929, allocations: 0 / 483.8 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.1945, allocations: 0.5243 MB / 484.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.964e-05/0.1946, allocations: 100.8 kB / 484.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.102e-05/0.1946, allocations: 4 kB / 484.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002992/0.1949, allocations: 12.27 kB / 484.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.885e-05/0.195, allocations: 19.98 kB / 484.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.1951, allocations: 4 kB / 484.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002122/0.1953, allocations: 144.7 kB / 484.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1953, allocations: 0 / 484.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007286/0.1961, allocations: 80 kB / 484.6 MB, free: 15.45 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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 {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002844/0.1964, allocations: 115.2 kB / 484.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001576/0.198, allocations: 0.4907 MB / 485.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.198, allocations: 0 / 485.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.199, allocations: 346.4 kB / 485.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005715/0.1996, allocations: 23.92 kB / 485.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.2008, allocations: 461.8 kB / 486.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004598/0.2013, allocations: 0.725 MB / 486.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.667e-05/0.2014, allocations: 27.42 kB / 486.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2014, allocations: 0 / 486.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of Templates: time 0.00935/0.2108, allocations: 3.655 MB / 490.5 MB, free: 9.539 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe 2>&1)