Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding") translateModel(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002564/0.002564, allocations: 189.5 kB / 7.812 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.742/1.742, allocations: 205.2 MB / 213.4 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001191/0.001191, allocations: 91.62 kB / 261.4 MB, free: 13.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2707/0.2707, allocations: 37.96 MB / 347.3 MB, free: 7.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.645e-06/7.734e-06, allocations: 0 / 409.3 MB, free: 47.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1019, allocations: 56.32 MB / 465.6 MB, free: 6.875 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4317/0.5337, allocations: 109.2 MB / 0.5613 GB, free: 1.699 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004341/0.5342, allocations: 87.94 kB / 0.5614 GB, free: 1.613 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.2164/0.7506, allocations: 40.4 MB / 0.6009 GB, free: 8.734 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001047/0.7508, allocations: 32 kB / 0.6009 GB, free: 8.703 MB / 442.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.005303/0.7561, allocations: 1.33 MB / 0.6022 GB, free: 7.32 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.7562, allocations: 11.97 kB / 0.6022 GB, free: 7.309 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004529/0.7607, allocations: 349.8 kB / 0.6025 GB, free: 6.965 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007878/0.7687, allocations: 1.811 MB / 0.6043 GB, free: 5.105 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.046e-05/0.7688, allocations: 40 kB / 0.6044 GB, free: 5.066 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003552/0.7692, allocations: 79.91 kB / 0.6044 GB, free: 4.988 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004437/0.7736, allocations: 1.419 MB / 0.6058 GB, free: 3.566 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005043/0.7787, allocations: 1.868 MB / 0.6076 GB, free: 1.543 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.339e-05/0.7788, allocations: 7.938 kB / 0.6076 GB, free: 1.535 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001752/0.779, allocations: 7.906 kB / 0.6077 GB, free: 1.527 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000486/0.7795, allocations: 170.4 kB / 0.6078 GB, free: 1.359 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.019/0.7985, allocations: 8.931 MB / 0.6165 GB, free: 7.977 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.8, allocations: 0.6017 MB / 0.6171 GB, free: 7.359 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/0.8012, allocations: 0.4886 MB / 0.6176 GB, free: 6.867 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.363e-05/0.8013, allocations: 12.77 kB / 0.6176 GB, free: 6.855 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.8014, allocations: 43.34 kB / 0.6177 GB, free: 6.805 MB / 458.7 MB Notification: Performance of pre-optimization done (n=93): time 6.783e-06/0.8014, allocations: 7.922 kB / 0.6177 GB, free: 6.797 MB / 458.7 MB Notification: Performance of matching and sorting (n=97): time 0.00842/0.8098, allocations: 2.979 MB / 0.6206 GB, free: 3.703 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.093e-05/0.8099, allocations: 85.89 kB / 0.6207 GB, free: 3.602 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.8111, allocations: 0.5854 MB / 0.6212 GB, free: 3.008 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001298/0.8113, allocations: 25.7 kB / 0.6212 GB, free: 2.977 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004825/0.8117, allocations: 0.6322 MB / 0.6219 GB, free: 2.336 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003972/0.8122, allocations: 335.2 kB / 0.6222 GB, free: 2.004 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.784e-05/0.8123, allocations: 4 kB / 0.6222 GB, free: 2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002426/0.8125, allocations: 370.7 kB / 0.6225 GB, free: 1.629 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/0.8138, allocations: 495 kB / 0.623 GB, free: 1.145 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00175/0.8155, allocations: 0.9889 MB / 0.624 GB, free: 15.93 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001937/0.8175, allocations: 0.6974 MB / 0.6247 GB, free: 15.23 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-05/0.8175, allocations: 4 kB / 0.6247 GB, free: 15.23 MB / 474.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.006221/0.8238, allocations: 1.874 MB / 0.6265 GB, free: 13.34 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.8238, allocations: 4 kB / 0.6265 GB, free: 13.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004638/0.8285, allocations: 1.316 MB / 0.6278 GB, free: 12.01 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002427/0.831, allocations: 434.5 kB / 0.6282 GB, free: 11.58 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001926/0.8329, allocations: 247.6 kB / 0.6284 GB, free: 11.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01087/0.8438, allocations: 4.926 MB / 0.6332 GB, free: 6.184 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.8453, allocations: 36.03 kB / 0.6333 GB, free: 6.148 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002398/0.8456, allocations: 64 kB / 0.6333 GB, free: 6.086 MB / 474.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.0004049/0.846, allocations: 82.55 kB / 0.6334 GB, free: 6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003783/0.8464, allocations: 86.88 kB / 0.6335 GB, free: 5.914 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005841/0.8522, allocations: 1.541 MB / 0.635 GB, free: 4.289 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.911e-05/0.8523, allocations: 19.98 kB / 0.635 GB, free: 4.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.8524, allocations: 0 / 0.635 GB, free: 4.27 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.123e-05/0.8524, allocations: 7.984 kB / 0.635 GB, free: 4.262 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01071/0.8631, allocations: 2.798 MB / 0.6378 GB, free: 1.281 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.176e-05/0.8632, allocations: 8 kB / 0.6378 GB, free: 1.273 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001792/0.865, allocations: 135.8 kB / 0.6379 GB, free: 1.141 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001281/0.8663, allocations: 174.3 kB / 0.6381 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001636/0.8665, allocations: 24.23 kB / 0.6381 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1574/1.024, allocations: 4.389 MB / 0.6424 GB, free: 181 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/1.024, allocations: 8.344 kB / 0.6424 GB, free: 181 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004395/1.028, allocations: 2.3 MB / 0.6446 GB, free: 180.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005797/1.029, allocations: 242.1 kB / 0.6449 GB, free: 180.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002086/1.029, allocations: 21.33 kB / 0.6449 GB, free: 180.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009031/1.03, allocations: 22.52 kB / 0.6449 GB, free: 180.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/1.03, allocations: 54.03 kB / 0.645 GB, free: 180.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.288e-05/1.03, allocations: 26.59 kB / 0.645 GB, free: 180.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0006912/1.031, allocations: 428.6 kB / 0.6454 GB, free: 180.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001679/1.033, allocations: 310.3 kB / 0.6457 GB, free: 180.1 MB / 474.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.0004072/1.033, allocations: 167.2 kB / 0.6458 GB, free: 180 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00393/1.037, allocations: 1.518 MB / 0.6473 GB, free: 179.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.037, allocations: 0 / 0.6473 GB, free: 179.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002346/1.04, allocations: 0.8624 MB / 0.6482 GB, free: 179.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/1.041, allocations: 131.6 kB / 0.6483 GB, free: 179.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006987/1.048, allocations: 2.544 MB / 0.6508 GB, free: 178.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001654/1.05, allocations: 1.422 MB / 0.6522 GB, free: 178.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.583e-06/1.05, allocations: 0 / 0.6522 GB, free: 178.2 MB / 474.7 MB Notification: Performance of Templates: time 0.04819/1.098, allocations: 24.98 MB / 0.6766 GB, free: 177.3 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe 2>&1)