Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 94.11 kB / 16.3 MB, free: 5.996 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.001406/0.001406, allocations: 180.4 kB / 17.2 MB, free: 5.914 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.705/1.705, allocations: 205.4 MB / 223.4 MB, free: 5.297 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.304/0.304, allocations: 38.04 MB / 309.7 MB, free: 9.066 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.000775/0.0007751, allocations: 14.19 kB / 376.5 MB, free: 15.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1527, allocations: 56.34 MB / 432.8 MB, free: 6.703 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.006688/0.1594, allocations: 4.437 MB / 437.3 MB, free: 2.242 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003271/0.1627, allocations: 1.618 MB / 438.9 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002382/0.163, allocations: 27.81 kB / 438.9 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002114/0.1632, allocations: 67.52 kB / 439 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006115/0.1639, allocations: 227.3 kB / 439.2 MB, free: 308 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007116/0.1646, allocations: 235.5 kB / 439.4 MB, free: 72 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003948/0.165, allocations: 295.8 kB / 439.7 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008312/0.1658, allocations: 0.5397 MB / 440.3 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.1661, allocations: 183.4 kB / 440.4 MB, free: 15.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004026/0.1665, allocations: 207.3 kB / 440.6 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.922e-05/0.1666, allocations: 20 kB / 440.7 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002303/0.1668, allocations: 95.8 kB / 440.8 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.167, allocations: 195.5 kB / 440.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.1671, allocations: 109.5 kB / 441 MB, free: 14.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004574/0.1676, allocations: 446.9 kB / 441.5 MB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1676, allocations: 0 / 441.5 MB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1676, allocations: 4 kB / 441.5 MB, free: 13.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.1676, allocations: 0 / 441.5 MB, free: 13.96 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.001128/0.1688, allocations: 0.684 MB / 442.2 MB, free: 13.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.1688, allocations: 12.03 kB / 442.2 MB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005937/0.1694, allocations: 99.27 kB / 442.3 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006314/0.1701, allocations: 383 kB / 442.7 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.734e-05/0.1701, allocations: 33 kB / 442.7 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.1703, allocations: 47.95 kB / 442.7 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009248/0.1712, allocations: 0.6411 MB / 443.4 MB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.1712, allocations: 11.88 kB / 443.4 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.113e-05/0.1713, allocations: 19.98 kB / 443.4 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001164/0.1714, allocations: 28.98 kB / 443.4 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000724/0.1721, allocations: 471.4 kB / 443.9 MB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003324/0.1755, allocations: 3.018 MB / 446.9 MB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.1758, allocations: 185 kB / 447.1 MB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.1758, allocations: 12.03 kB / 447.1 MB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.1758, allocations: 34.91 kB / 447.1 MB, free: 7.965 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.1759, allocations: 0 / 447.1 MB, free: 7.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.001345/0.1772, allocations: 0.8388 MB / 448 MB, free: 7.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.1773, allocations: 93.17 kB / 448.1 MB, free: 6.961 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003604/0.1776, allocations: 341.5 kB / 448.4 MB, free: 6.621 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.1777, allocations: 29.7 kB / 448.4 MB, free: 6.586 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.1779, allocations: 291 kB / 448.7 MB, free: 6.297 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.829e-05/0.178, allocations: 86.83 kB / 448.8 MB, free: 6.211 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.82e-05/0.178, allocations: 8 kB / 448.8 MB, free: 6.203 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.1782, allocations: 342.8 kB / 449.1 MB, free: 5.859 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.1784, allocations: 128.8 kB / 449.3 MB, free: 5.734 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003218/0.1787, allocations: 331 kB / 449.6 MB, free: 5.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.179, allocations: 180.1 kB / 449.8 MB, free: 5.145 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.179, allocations: 0 / 449.8 MB, free: 5.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009644/0.1799, allocations: 0.5649 MB / 450.3 MB, free: 4.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.18, allocations: 8 kB / 450.3 MB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004867/0.1805, allocations: 276.6 kB / 450.6 MB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003254/0.1808, allocations: 80.78 kB / 450.7 MB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.1811, allocations: 95.83 kB / 450.8 MB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/0.1827, allocations: 1.628 MB / 452.4 MB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/0.183, allocations: 16.05 kB / 452.4 MB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/0.183, allocations: 28 kB / 452.5 MB, free: 2.305 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002546/0.1833, allocations: 213.6 kB / 452.7 MB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.941e-05/0.1834, allocations: 39.48 kB / 452.7 MB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004574/0.1838, allocations: 284.6 kB / 453 MB, free: 1.762 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.1839, allocations: 7.984 kB / 453 MB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.1839, allocations: 4 kB / 453 MB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1839, allocations: 0 / 453 MB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.1851, allocations: 0.7939 MB / 453.8 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1851, allocations: 0 / 453.8 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002801/0.1854, allocations: 59.91 kB / 453.8 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1854, allocations: 0 / 453.8 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.1855, allocations: 12.06 kB / 453.9 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1855, allocations: 4 kB / 453.9 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.1855, allocations: 3.984 kB / 453.9 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005754/0.1861, allocations: 0.4947 MB / 454.4 MB, free: 284 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.579e-05/0.1862, allocations: 104.8 kB / 454.5 MB, free: 160 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/0.1862, allocations: 11.94 kB / 454.5 MB, free: 148 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.1864, allocations: 11.98 kB / 454.5 MB, free: 136 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.1864, allocations: 15.94 kB / 454.5 MB, free: 120 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.1865, allocations: 8 kB / 454.5 MB, free: 112 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.2287/0.4152, allocations: 228.7 kB / 454.7 MB, free: 51.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.81e-07/0.4152, allocations: 0 / 454.7 MB, free: 51.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000821/0.4161, allocations: 95.88 kB / 454.8 MB, free: 51.12 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001655/0.4162, allocations: 110.4 kB / 454.9 MB, free: 51.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008866/0.4171, allocations: 446.4 kB / 455.4 MB, free: 50.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.4172, allocations: 0 / 455.4 MB, free: 50.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.4173, allocations: 116 kB / 455.5 MB, free: 50.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004875/0.4178, allocations: 57.06 kB / 455.5 MB, free: 50.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.4195, allocations: 1.207 MB / 456.7 MB, free: 50.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.4198, allocations: 0.8785 MB / 457.6 MB, free: 49.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002879/0.4201, allocations: 110.4 kB / 457.7 MB, free: 49.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.471e-05/0.4202, allocations: 35.25 kB / 457.8 MB, free: 49.64 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4202, allocations: 0 / 457.8 MB, free: 49.64 MB / 382.1 MB Notification: Performance of Templates: time 0.006246/0.4265, allocations: 3.244 MB / 461 MB, free: 49.43 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) Environment - environmentSimulation: