Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(PowerSystems.Examples.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest") translateModel(PowerSystems.Examples.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 111.1 kB / 17.06 MB, free: 5.977 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.001236/0.001236, allocations: 198.9 kB / 18.01 MB, free: 5.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.819/1.819, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2109/0.2109, allocations: 37.99 MB / 309.2 MB, free: 5.945 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 67.91 kB / 431.9 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.16, allocations: 55.24 MB / 487.1 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.00548/0.1655, allocations: 3.47 MB / 490.6 MB, free: 4.848 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002284/0.1678, allocations: 1.575 MB / 492.1 MB, free: 3.262 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001577/0.168, allocations: 7.938 kB / 492.2 MB, free: 3.254 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008765/0.1689, allocations: 259.5 kB / 492.4 MB, free: 3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005882/0.1695, allocations: 278.9 kB / 492.7 MB, free: 2.727 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003068/0.1698, allocations: 127.6 kB / 492.8 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004051/0.1703, allocations: 346.9 kB / 493.1 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003274/0.1706, allocations: 133.9 kB / 493.3 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/0.1709, allocations: 155.4 kB / 493.4 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002584/0.1711, allocations: 151.4 kB / 493.6 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.1712, allocations: 16 kB / 493.6 MB, free: 1.816 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005008/0.1717, allocations: 327.2 kB / 493.9 MB, free: 1.496 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.1718, allocations: 95.75 kB / 494 MB, free: 1.402 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.172, allocations: 115.4 kB / 494.1 MB, free: 1.289 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004623/0.1724, allocations: 355 kB / 494.5 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/0.1724, allocations: 4 kB / 494.5 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1725, allocations: 0 / 494.5 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.1725, allocations: 0 / 494.5 MB, free: 0.9375 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008102/0.1733, allocations: 0.5103 MB / 495 MB, free: 388 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.1733, allocations: 11.89 kB / 495 MB, free: 376 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.1744, allocations: 112.5 kB / 495.1 MB, free: 264 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004134/0.1749, allocations: 275.8 kB / 495.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.1749, allocations: 12.38 kB / 495.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.578e-05/0.175, allocations: 20.36 kB / 495.4 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005831/0.1756, allocations: 333.7 kB / 495.7 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.1756, allocations: 7.938 kB / 495.7 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.496e-05/0.1756, allocations: 7.984 kB / 495.7 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.142e-05/0.1757, allocations: 16 kB / 495.8 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004823/0.1762, allocations: 315.7 kB / 496.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/0.178, allocations: 1.244 MB / 497.3 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.1783, allocations: 165 kB / 497.5 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.1785, allocations: 105.7 kB / 497.6 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/0.1785, allocations: 3.828 kB / 497.6 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.1785, allocations: 34.56 kB / 497.6 MB, free: 13.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.1785, allocations: 0 / 497.6 MB, free: 13.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.001536/0.1801, allocations: 0.6699 MB / 498.3 MB, free: 12.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.785e-05/0.1802, allocations: 85.14 kB / 498.4 MB, free: 12.76 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.1804, allocations: 186.4 kB / 498.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.1804, allocations: 29.7 kB / 498.6 MB, free: 12.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.1805, allocations: 159.9 kB / 498.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.291e-05/0.1806, allocations: 63.09 kB / 498.8 MB, free: 12.31 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.639e-05/0.1807, allocations: 45.7 kB / 498.8 MB, free: 12.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1808, allocations: 326.8 kB / 499.2 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.181, allocations: 87.89 kB / 499.2 MB, free: 11.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.1811, allocations: 148.5 kB / 499.4 MB, free: 11.67 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.1815, allocations: 260.4 kB / 499.6 MB, free: 11.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1815, allocations: 0 / 499.6 MB, free: 11.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000597/0.1821, allocations: 353.8 kB / 500 MB, free: 11.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.1821, allocations: 8 kB / 500 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1821, allocations: 0 / 500 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004241/0.1826, allocations: 97.05 kB / 0.4884 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.1827, allocations: 51.91 kB / 0.4884 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002681/0.1854, allocations: 2.154 MB / 0.4905 GB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.1856, allocations: 15.98 kB / 0.4905 GB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.1856, allocations: 12 kB / 0.4905 GB, free: 8.551 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (21): * Single equations (assignments): 20 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000184/0.1858, allocations: 161.7 kB / 0.4907 GB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.489e-05/0.1858, allocations: 15.81 kB / 0.4907 GB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006442/0.1865, allocations: 324 kB / 0.491 GB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1865, allocations: 4 kB / 0.491 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.1865, allocations: 0 / 0.491 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.1865, allocations: 3.984 kB / 0.491 GB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.1879, allocations: 0.7504 MB / 0.4918 GB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1879, allocations: 0 / 0.4918 GB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.188, allocations: 28.11 kB / 0.4918 GB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002614/0.1883, allocations: 84.84 kB / 0.4919 GB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.1883, allocations: 4 kB / 0.4919 GB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002174/0.1905, allocations: 2.036 MB / 0.4939 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1905, allocations: 0 / 0.4939 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006326/0.1911, allocations: 418.4 kB / 0.4943 GB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.1912, allocations: 104.8 kB / 0.4944 GB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.1913, allocations: 3.984 kB / 0.4944 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.1914, allocations: 12 kB / 0.4944 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.1915, allocations: 11.98 kB / 0.4944 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.1915, allocations: 11.98 kB / 0.4944 GB, free: 4.328 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001427/0.1916, allocations: 144.3 kB / 0.4945 GB, free: 4.188 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1917, allocations: 0 / 0.4945 GB, free: 4.188 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004871/0.1921, allocations: 68 kB / 0.4946 GB, free: 4.121 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000175/0.1923, allocations: 99.19 kB / 0.4947 GB, free: 4.012 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008304/0.1932, allocations: 374.3 kB / 0.4951 GB, free: 3.633 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1932, allocations: 0 / 0.4951 GB, free: 3.633 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004323/0.1936, allocations: 263.2 kB / 0.4953 GB, free: 3.363 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004605/0.1941, allocations: 36.89 kB / 0.4953 GB, free: 3.328 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.1951, allocations: 0.4907 MB / 0.4958 GB, free: 2.801 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004897/0.1956, allocations: 0.7675 MB / 0.4966 GB, free: 2.008 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.1958, allocations: 45.55 kB / 0.4966 GB, free: 1.965 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.954e-05/0.1958, allocations: 19.42 kB / 0.4966 GB, free: 1.945 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1958, allocations: 3.938 kB / 0.4966 GB, free: 1.941 MB / 382.1 MB Notification: Performance of Templates: time 0.007269/0.2031, allocations: 3.078 MB / 0.4996 GB, free: 14.86 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1)