Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.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.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001562, allocations: 115.5 kB / 17.07 MB, free: 6 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.001586/0.001586, allocations: 192 kB / 18 MB, free: 5.082 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.724/1.724, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1733/0.1733, allocations: 38 MB / 309.2 MB, free: 5.938 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.002019/0.002019, allocations: 67.91 kB / 431.9 MB, free: 15.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1533, allocations: 55.24 MB / 487.1 MB, free: 8.461 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.00745/0.1608, allocations: 4.483 MB / 491.6 MB, free: 3.945 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003086/0.1639, allocations: 1.575 MB / 493.2 MB, free: 2.363 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002471/0.1642, allocations: 15.88 kB / 493.2 MB, free: 2.348 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.1653, allocations: 287.2 kB / 493.5 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006431/0.166, allocations: 258.7 kB / 493.7 MB, free: 1.812 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007431/0.1667, allocations: 259.4 kB / 494 MB, free: 1.559 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007499/0.1675, allocations: 0.639 MB / 494.6 MB, free: 0.918 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000536/0.1681, allocations: 288.6 kB / 494.9 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003561/0.1684, allocations: 287 kB / 495.2 MB, free: 368 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005706/0.169, allocations: 390.8 kB / 495.6 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.154e-05/0.1691, allocations: 44 kB / 495.6 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003056/0.1694, allocations: 143.8 kB / 495.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002385/0.1697, allocations: 247.4 kB / 496 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002956/0.17, allocations: 274.6 kB / 496.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006533/0.1706, allocations: 0.6618 MB / 496.9 MB, free: 14.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1706, allocations: 8 kB / 496.9 MB, free: 14.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1706, allocations: 0 / 496.9 MB, free: 14.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.168e-06/0.1707, allocations: 0 / 496.9 MB, free: 14.61 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002033/0.1727, allocations: 0.875 MB / 497.8 MB, free: 13.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.1728, allocations: 11.89 kB / 497.8 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005875/0.1733, allocations: 96.12 kB / 497.9 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.1744, allocations: 499.8 kB / 498.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.385e-05/0.1744, allocations: 29.38 kB / 498.4 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002251/0.1746, allocations: 60.02 kB / 498.5 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.1758, allocations: 0.6918 MB / 499.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/0.1758, allocations: 3.938 kB / 499.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.864e-05/0.1759, allocations: 20 kB / 499.2 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001153/0.176, allocations: 36.92 kB / 499.2 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000859/0.1769, allocations: 0.5267 MB / 499.7 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003607/0.1805, allocations: 3.098 MB / 0.4911 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006134/0.1811, allocations: 329.2 kB / 0.4914 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000246/0.1814, allocations: 181.6 kB / 0.4915 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.387e-05/0.1814, allocations: 7.984 kB / 0.4916 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.1815, allocations: 34.56 kB / 0.4916 GB, free: 7.797 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 2.745e-06/0.1815, allocations: 0 / 0.4916 GB, free: 7.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.001951/0.1834, allocations: 1.216 MB / 0.4928 GB, free: 6.527 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.1835, allocations: 85.23 kB / 0.4929 GB, free: 6.426 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003663/0.1839, allocations: 389.5 kB / 0.4932 GB, free: 6.039 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.1839, allocations: 33.7 kB / 0.4933 GB, free: 6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.1841, allocations: 287.3 kB / 0.4935 GB, free: 5.715 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.1842, allocations: 122.3 kB / 0.4937 GB, free: 5.594 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.1843, allocations: 106.1 kB / 0.4938 GB, free: 5.484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.1845, allocations: 354.7 kB / 0.4941 GB, free: 5.129 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002722/0.1848, allocations: 193 kB / 0.4943 GB, free: 4.941 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004107/0.1852, allocations: 389.5 kB / 0.4946 GB, free: 4.473 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007129/0.186, allocations: 0.5931 MB / 0.4952 GB, free: 3.793 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.186, allocations: 0 / 0.4952 GB, free: 3.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001888/0.1879, allocations: 0.8297 MB / 0.496 GB, free: 2.949 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.1879, allocations: 8 kB / 0.496 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.1879, allocations: 8 kB / 0.4961 GB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/0.1892, allocations: 262 kB / 0.4963 GB, free: 2.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005942/0.1898, allocations: 139.8 kB / 0.4964 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005472/0.1953, allocations: 4.06 MB / 0.5004 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004609/0.1958, allocations: 31.97 kB / 0.5004 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.557e-05/0.1958, allocations: 24.06 kB / 0.5005 GB, free: 14.12 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003102/0.1961, allocations: 225.6 kB / 0.5007 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.874e-05/0.1962, allocations: 35.53 kB / 0.5007 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007498/0.197, allocations: 485.1 kB / 0.5012 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.197, allocations: 4 kB / 0.5012 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.197, allocations: 3.938 kB / 0.5012 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.778e-06/0.197, allocations: 4 kB / 0.5012 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.1984, allocations: 1.011 MB / 0.5022 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1985, allocations: 0 / 0.5022 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004346/0.1989, allocations: 91.81 kB / 0.5023 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.1989, allocations: 4 kB / 0.5023 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.103e-05/0.1989, allocations: 8 kB / 0.5023 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.199, allocations: 11.92 kB / 0.5023 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.199, allocations: 4.25 kB / 0.5023 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.2, allocations: 0.7396 MB / 0.503 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.2001, allocations: 124.5 kB / 0.5031 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.243e-05/0.2002, allocations: 11.94 kB / 0.5031 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.2004, allocations: 23.97 kB / 0.5032 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/0.2005, allocations: 27.91 kB / 0.5032 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.2005, allocations: 12 kB / 0.5032 GB, free: 11.19 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000306/0.2009, allocations: 271.1 kB / 0.5034 GB, free: 10.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2009, allocations: 0 / 0.5034 GB, free: 10.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005248/0.2014, allocations: 116 kB / 0.5036 GB, free: 10.82 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * 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 (38): * Single equations (assignments): 37 * 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 0.0001432/0.2015, allocations: 111.2 kB / 0.5037 GB, free: 10.7 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001442/0.203, allocations: 0.7989 MB / 0.5044 GB, free: 9.879 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.203, allocations: 4 kB / 0.5044 GB, free: 9.875 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002769/0.2033, allocations: 203.6 kB / 0.5046 GB, free: 9.676 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000543/0.2038, allocations: 85.25 kB / 0.5047 GB, free: 9.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003159/0.207, allocations: 1.468 MB / 0.5062 GB, free: 8.082 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005052/0.2075, allocations: 0.8937 MB / 0.507 GB, free: 7.164 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003109/0.2079, allocations: 127.3 kB / 0.5072 GB, free: 7.039 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.208, allocations: 47.42 kB / 0.5072 GB, free: 6.992 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.208, allocations: 0 / 0.5072 GB, free: 6.992 MB / 398.1 MB Notification: Performance of Templates: time 0.01137/0.2194, allocations: 6.224 MB / 0.5133 GB, free: 0.7578 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1)