Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.InductiveLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest") translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 108.3 kB / 17.74 MB, free: 5.316 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.001892/0.001891, allocations: 183 kB / 18.67 MB, free: 4.398 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.761/1.761, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1931/0.1931, allocations: 37.99 MB / 309.9 MB, free: 5.949 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.001477/0.001477, allocations: 67.03 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.126, allocations: 55.24 MB / 487.8 MB, free: 8.355 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.008965/0.1351, allocations: 3.965 MB / 491.7 MB, free: 4.363 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003561/0.1388, allocations: 1.859 MB / 493.6 MB, free: 2.492 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004896/0.1393, allocations: 11.94 kB / 493.6 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001542/0.141, allocations: 370.5 kB / 494 MB, free: 2.117 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001856/0.1429, allocations: 406.5 kB / 494.4 MB, free: 1.719 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007036/0.1436, allocations: 143.6 kB / 494.5 MB, free: 1.578 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009003/0.1445, allocations: 490.6 kB / 495 MB, free: 1.098 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005877/0.1451, allocations: 218.7 kB / 495.2 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004854/0.1456, allocations: 219.1 kB / 495.4 MB, free: 0.668 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000422/0.1461, allocations: 235.2 kB / 495.6 MB, free: 448 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.942e-05/0.1461, allocations: 20 kB / 495.7 MB, free: 428 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.1473, allocations: 442.9 kB / 496.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002221/0.1475, allocations: 155.6 kB / 496.2 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000256/0.1478, allocations: 151.3 kB / 496.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009378/0.1488, allocations: 494.6 kB / 496.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.1488, allocations: 0 / 496.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.446e-06/0.1488, allocations: 4 kB / 496.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.1488, allocations: 0 / 496.9 MB, free: 15.2 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001275/0.1501, allocations: 0.6004 MB / 497.5 MB, free: 14.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.168e-05/0.1502, allocations: 11.89 kB / 497.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001614/0.1518, allocations: 128.4 kB / 497.6 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006344/0.1524, allocations: 299.7 kB / 497.9 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.859e-05/0.1525, allocations: 20.94 kB / 497.9 MB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-05/0.1526, allocations: 32.36 kB / 498 MB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008639/0.1535, allocations: 431.9 kB / 498.4 MB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/0.1535, allocations: 7.984 kB / 498.4 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.085e-05/0.1536, allocations: 11.98 kB / 498.4 MB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.074e-05/0.1536, allocations: 28.55 kB / 498.4 MB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007522/0.1544, allocations: 429.9 kB / 498.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002908/0.1573, allocations: 1.71 MB / 0.4888 GB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005084/0.1578, allocations: 290.1 kB / 0.4891 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002244/0.1581, allocations: 137.7 kB / 0.4892 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.629e-05/0.1581, allocations: 0 / 0.4892 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/0.1582, allocations: 42.55 kB / 0.4893 GB, free: 10.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 3.076e-06/0.1582, allocations: 0 / 0.4893 GB, free: 10.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.002294/0.1605, allocations: 0.7868 MB / 0.49 GB, free: 9.945 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.554e-05/0.1606, allocations: 85.05 kB / 0.4901 GB, free: 9.844 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/0.1609, allocations: 203 kB / 0.4903 GB, free: 9.633 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.161, allocations: 33.83 kB / 0.4904 GB, free: 9.594 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.1612, allocations: 188 kB / 0.4905 GB, free: 9.406 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.1613, allocations: 82.84 kB / 0.4906 GB, free: 9.324 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.1614, allocations: 53.89 kB / 0.4907 GB, free: 9.266 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.1616, allocations: 334.8 kB / 0.491 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.1618, allocations: 104.5 kB / 0.4911 GB, free: 8.828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.1621, allocations: 212.9 kB / 0.4913 GB, free: 8.578 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005087/0.1626, allocations: 348.9 kB / 0.4916 GB, free: 8.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1626, allocations: 4.062 kB / 0.4916 GB, free: 8.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008406/0.1634, allocations: 430 kB / 0.492 GB, free: 7.762 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.1635, allocations: 4 kB / 0.492 GB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.1635, allocations: 7.984 kB / 0.492 GB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004702/0.164, allocations: 84.73 kB / 0.4921 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/0.1643, allocations: 55.91 kB / 0.4922 GB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002744/0.167, allocations: 2.002 MB / 0.4941 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002788/0.1674, allocations: 8 kB / 0.4941 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.1674, allocations: 19.98 kB / 0.4942 GB, free: 5.445 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000301/0.1677, allocations: 173.7 kB / 0.4943 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.767e-05/0.1678, allocations: 23.66 kB / 0.4943 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009284/0.1687, allocations: 388.1 kB / 0.4947 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.1688, allocations: 4 kB / 0.4947 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1688, allocations: 192 / 0.4947 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.1688, allocations: 0 / 0.4947 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.1706, allocations: 0.9218 MB / 0.4956 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.1706, allocations: 0 / 0.4956 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.1708, allocations: 39.92 kB / 0.4957 GB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002894/0.1711, allocations: 68.78 kB / 0.4957 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.1711, allocations: 12.06 kB / 0.4957 GB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002389/0.1735, allocations: 1.904 MB / 0.4976 GB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1736, allocations: 0 / 0.4976 GB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008761/0.1744, allocations: 471.2 kB / 0.498 GB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.1746, allocations: 92.83 kB / 0.4981 GB, free: 1.082 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.1746, allocations: 8 kB / 0.4981 GB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.1748, allocations: 11.98 kB / 0.4981 GB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.805e-05/0.1749, allocations: 19.92 kB / 0.4982 GB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.675e-05/0.1749, allocations: 20.11 kB / 0.4982 GB, free: 1.023 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002149/0.1751, allocations: 144.4 kB / 0.4983 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1752, allocations: 4 kB / 0.4983 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006773/0.1758, allocations: 84 kB / 0.4984 GB, free: 0.7969 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 (22): * Single equations (assignments): 20 * 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): 1 system {(2,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002084/0.1761, allocations: 111.1 kB / 0.4985 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.1771, allocations: 434.1 kB / 0.4989 GB, free: 248 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.1771, allocations: 0 / 0.4989 GB, free: 248 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005084/0.1776, allocations: 291.4 kB / 0.4992 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005123/0.1782, allocations: 39.92 kB / 0.4992 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.1797, allocations: 0.6462 MB / 0.4999 GB, free: 15.22 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005855/0.1803, allocations: 0.7987 MB / 0.5007 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.197e-05/0.1804, allocations: 23.44 kB / 0.5007 GB, free: 14.37 MB / 398.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1804, allocations: 3.938 kB / 0.5007 GB, free: 14.37 MB / 398.1 MB Notification: Performance of Templates: time 0.009559/0.19, allocations: 4.411 MB / 0.505 GB, free: 9.949 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1)