Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TreeWinding.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transformation.TreeWinding,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TreeWinding") translateModel(PowerSystems.Examples.AC3ph.Transformation.TreeWinding,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TreeWinding") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001151/0.001151, allocations: 191.2 kB / 8.139 MB, free: 2.195 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.151/1.151, allocations: 194.2 MB / 202.8 MB, free: 8.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001837/0.001837, allocations: 117.8 kB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1616/0.1616, allocations: 37.91 MB / 330.5 MB, free: 6.902 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.973e-06/6.993e-06, allocations: 0 / 389.8 MB, free: 78.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09007/0.09009, allocations: 53.23 MB / 443 MB, free: 24.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3332/0.4234, allocations: 104.1 MB / 0.5343 GB, free: 3.812 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/0.4237, allocations: 84.52 kB / 0.5344 GB, free: 3.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1154/0.5392, allocations: 40.36 MB / 0.5738 GB, free: 1.395 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001118/0.5394, allocations: 32 kB / 0.5738 GB, free: 1.363 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 374 * Number of variables: 374 Notification: Performance of Generate backend data structure: time 0.004429/0.5438, allocations: 1.336 MB / 0.5751 GB, free: 60 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.5439, allocations: 8.031 kB / 0.5751 GB, free: 52 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002868/0.5467, allocations: 345.8 kB / 0.5755 GB, free: 15.71 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005545/0.5523, allocations: 1.819 MB / 0.5773 GB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.525e-05/0.5524, allocations: 40 kB / 0.5773 GB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003923/0.5528, allocations: 79.22 kB / 0.5774 GB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002764/0.5556, allocations: 1.417 MB / 0.5788 GB, free: 13.06 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003018/0.5586, allocations: 1.866 MB / 0.5806 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.916e-05/0.5587, allocations: 7.938 kB / 0.5806 GB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.5588, allocations: 4 kB / 0.5806 GB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002704/0.5591, allocations: 169.4 kB / 0.5807 GB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0108/0.5699, allocations: 8.962 MB / 0.5895 GB, free: 2.031 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008069/0.5707, allocations: 0.5927 MB / 0.5901 GB, free: 1.422 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006493/0.5714, allocations: 0.4958 MB / 0.5906 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.646e-05/0.5715, allocations: 16.75 kB / 0.5906 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.5715, allocations: 43.34 kB / 0.5906 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of pre-optimization done (n=93): time 3.717e-06/0.5715, allocations: 0 / 0.5906 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of matching and sorting (n=97): time 0.005512/0.5771, allocations: 2.975 MB / 0.5935 GB, free: 13.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.5771, allocations: 85.89 kB / 0.5936 GB, free: 13.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007629/0.5779, allocations: 0.5816 MB / 0.5942 GB, free: 13.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.876e-05/0.578, allocations: 25.7 kB / 0.5942 GB, free: 13.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003341/0.5783, allocations: 0.6062 MB / 0.5948 GB, free: 12.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002621/0.5786, allocations: 339.2 kB / 0.5951 GB, free: 12.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.328e-05/0.5786, allocations: 0 / 0.5951 GB, free: 12.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.5788, allocations: 402.7 kB / 0.5955 GB, free: 11.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006598/0.5795, allocations: 487.1 kB / 0.596 GB, free: 11.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009601/0.5805, allocations: 0.9928 MB / 0.5969 GB, free: 9.992 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.5815, allocations: 0.6973 MB / 0.5976 GB, free: 9.289 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.5815, allocations: 4 kB / 0.5976 GB, free: 9.285 MB / 410.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.003415/0.585, allocations: 1.897 MB / 0.5995 GB, free: 7.375 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.585, allocations: 11.91 kB / 0.5995 GB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002353/0.5874, allocations: 1.32 MB / 0.6008 GB, free: 6.035 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001434/0.5888, allocations: 448.7 kB / 0.6012 GB, free: 5.594 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009343/0.5898, allocations: 247.6 kB / 0.6014 GB, free: 5.352 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006385/0.5962, allocations: 4.943 MB / 0.6063 GB, free: 188 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.5973, allocations: 35.97 kB / 0.6063 GB, free: 152 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00023/0.5975, allocations: 60 kB / 0.6064 GB, free: 92 kB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,trafo3Stray.tap_2_internal[2],trafo3Stray.tap_2_internal[1],trafo3Stray.tap_1_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 131 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 15,(2,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003465/0.5979, allocations: 156.5 kB / 0.6065 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/0.5981, allocations: 94.86 kB / 0.6066 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002844/0.601, allocations: 1.537 MB / 0.6081 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.255e-05/0.601, allocations: 19.89 kB / 0.6081 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.601, allocations: 4.094 kB / 0.6081 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.6011, allocations: 7.969 kB / 0.6081 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004737/0.6058, allocations: 2.79 MB / 0.6108 GB, free: 11.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.565e-06/0.6058, allocations: 0 / 0.6108 GB, free: 11.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000666/0.6065, allocations: 143.8 kB / 0.611 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000556/0.6071, allocations: 182.6 kB / 0.6112 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-05/0.6072, allocations: 19.98 kB / 0.6112 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003436/0.6106, allocations: 4.381 MB / 0.6155 GB, free: 6.145 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-05/0.6106, allocations: 7.938 kB / 0.6155 GB, free: 6.137 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002964/0.6136, allocations: 2.306 MB / 0.6177 GB, free: 3.633 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004926/0.6141, allocations: 243.9 kB / 0.618 GB, free: 3.375 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002033/0.6143, allocations: 11.98 kB / 0.618 GB, free: 3.363 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005625/0.6149, allocations: 19.89 kB / 0.618 GB, free: 3.344 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.615, allocations: 56.58 kB / 0.618 GB, free: 3.289 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.91e-05/0.6151, allocations: 23.98 kB / 0.6181 GB, free: 3.266 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0005974/0.6157, allocations: 431.1 kB / 0.6185 GB, free: 2.848 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00154/0.6172, allocations: 315.9 kB / 0.6188 GB, free: 2.539 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (trafo3Stray.i2a[1],trafo3Stray.i2a[2],trafo3Stray.i2a[3],trafo3Stray.i2b[1],trafo3Stray.i2b[2],trafo3Stray.i2b[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 72 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003857/0.6176, allocations: 163.2 kB / 0.6189 GB, free: 2.371 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002695/0.6203, allocations: 1.514 MB / 0.6204 GB, free: 0.8359 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.6203, allocations: 8.062 kB / 0.6204 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001432/0.6218, allocations: 0.8628 MB / 0.6213 GB, free: 15.94 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007956/0.6226, allocations: 139.5 kB / 0.6214 GB, free: 15.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005278/0.6279, allocations: 2.416 MB / 0.6237 GB, free: 13.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001464/0.6294, allocations: 1.407 MB / 0.6251 GB, free: 11.87 MB / 442.7 MB Notification: Performance of SimCode: time 7.92e-07/0.6294, allocations: 0 / 0.6251 GB, free: 11.87 MB / 442.7 MB Notification: Performance of Templates: time 0.02431/0.6537, allocations: 13.04 MB / 0.6379 GB, free: 14.84 MB / 458.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TreeWinding.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TreeWinding.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TreeWinding.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TreeWinding.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TreeWinding.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TreeWinding -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TreeWinding.pipe 2>&1)