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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.TreeWinding,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TreeWinding",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.TreeWinding,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TreeWinding",fmuType="me",version="2.0",platforms={"static"}) [: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.0009173/0.0009173, allocations: 180.5 kB / 8.133 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 0.9868/0.9868, allocations: 194.2 MB / 202.8 MB, free: 8.742 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.001644/0.001644, allocations: 123.2 kB / 247.8 MB, free: 6.312 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1487/0.1487, allocations: 37.91 MB / 330.5 MB, free: 6.926 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1719/0.3206, allocations: 59.34 MB / 389.9 MB, free: 78.02 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06994/0.3906, allocations: 53.23 MB / 443.1 MB, free: 24.88 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2388/0.6295, allocations: 104.1 MB / 0.5344 GB, free: 3.723 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001977/0.6297, allocations: 81.2 kB / 0.5345 GB, free: 3.684 MB / 346.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.1075/0.7372, allocations: 41.73 MB / 0.5752 GB, free: 15.96 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.7373, allocations: 12 kB / 0.5753 GB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002279/0.7396, allocations: 349.8 kB / 0.5756 GB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00432/0.7439, allocations: 1.815 MB / 0.5774 GB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/0.744, allocations: 39.94 kB / 0.5774 GB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002541/0.7442, allocations: 75.91 kB / 0.5775 GB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002235/0.7465, allocations: 1.42 MB / 0.5789 GB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002464/0.749, allocations: 1.863 MB / 0.5807 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.023e-05/0.749, allocations: 7.938 kB / 0.5807 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/0.7491, allocations: 8 kB / 0.5807 GB, free: 11.37 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002454/0.7494, allocations: 171.7 kB / 0.5809 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009818/0.7592, allocations: 8.955 MB / 0.5896 GB, free: 1.957 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007489/0.76, allocations: 0.585 MB / 0.5902 GB, free: 1.355 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000615/0.7606, allocations: 0.4961 MB / 0.5907 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.712e-05/0.7607, allocations: 16.77 kB / 0.5907 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.7607, allocations: 43.33 kB / 0.5907 GB, free: 0.793 MB / 394.7 MB Notification: Performance of pre-optimization done (n=93): time 3.065e-06/0.7607, allocations: 4 kB / 0.5907 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of matching and sorting (n=97): time 0.00477/0.7655, allocations: 2.968 MB / 0.5936 GB, free: 13.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.7656, allocations: 85.89 kB / 0.5937 GB, free: 13.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006215/0.7662, allocations: 0.5855 MB / 0.5943 GB, free: 13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.658e-05/0.7663, allocations: 25.7 kB / 0.5943 GB, free: 12.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003059/0.7666, allocations: 0.6102 MB / 0.5949 GB, free: 12.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.7668, allocations: 331.1 kB / 0.5952 GB, free: 12.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.871e-05/0.7669, allocations: 0 / 0.5952 GB, free: 12.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.767, allocations: 402.7 kB / 0.5956 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006327/0.7677, allocations: 491.1 kB / 0.5961 GB, free: 11.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009/0.7686, allocations: 0.9928 MB / 0.597 GB, free: 9.918 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009527/0.7695, allocations: 0.6972 MB / 0.5977 GB, free: 9.223 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.7696, allocations: 8 kB / 0.5977 GB, free: 9.215 MB / 410.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.003104/0.7727, allocations: 1.897 MB / 0.5996 GB, free: 7.305 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.7727, allocations: 12.12 kB / 0.5996 GB, free: 7.297 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002254/0.7749, allocations: 1.323 MB / 0.6009 GB, free: 5.961 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001313/0.7763, allocations: 437.2 kB / 0.6013 GB, free: 5.527 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000816/0.7771, allocations: 247.6 kB / 0.6015 GB, free: 5.285 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00558/0.7827, allocations: 4.955 MB / 0.6064 GB, free: 108 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007141/0.7834, allocations: 27.98 kB / 0.6064 GB, free: 80 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.583e-05/0.7835, allocations: 67.98 kB / 0.6065 GB, free: 12 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.0002058/0.7837, allocations: 152.5 kB / 0.6066 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.7839, allocations: 86.88 kB / 0.6067 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002369/0.7862, allocations: 1.545 MB / 0.6082 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-05/0.7863, allocations: 19.91 kB / 0.6082 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.7863, allocations: 7.938 kB / 0.6082 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.7863, allocations: 3.984 kB / 0.6082 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004006/0.7903, allocations: 2.782 MB / 0.6109 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.7903, allocations: 4 kB / 0.6109 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000622/0.791, allocations: 139.8 kB / 0.6111 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005136/0.7915, allocations: 186.7 kB / 0.6113 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.357e-05/0.7916, allocations: 15.98 kB / 0.6113 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003006/0.7946, allocations: 4.389 MB / 0.6156 GB, free: 6.066 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.7946, allocations: 4.125 kB / 0.6156 GB, free: 6.062 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002706/0.7973, allocations: 2.302 MB / 0.6178 GB, free: 3.562 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003444/0.8008, allocations: 3.288 MB / 0.621 GB, free: 84 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003832/0.8012, allocations: 251.8 kB / 0.6213 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.8013, allocations: 12 kB / 0.6213 GB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004728/0.8018, allocations: 23.88 kB / 0.6213 GB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.8019, allocations: 52.58 kB / 0.6213 GB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.846e-05/0.802, allocations: 27.98 kB / 0.6214 GB, free: 15.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0004721/0.8024, allocations: 431.1 kB / 0.6218 GB, free: 15.28 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001703/0.8042, allocations: 323.9 kB / 0.6221 GB, free: 14.96 MB / 442.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.0002657/0.8044, allocations: 154.9 kB / 0.6222 GB, free: 14.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002288/0.8067, allocations: 1.52 MB / 0.6237 GB, free: 13.27 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.8067, allocations: 1.938 kB / 0.6237 GB, free: 13.27 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.8081, allocations: 0.8673 MB / 0.6246 GB, free: 12.38 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000641/0.8087, allocations: 126.9 kB / 0.6247 GB, free: 12.25 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00408/0.8128, allocations: 2.426 MB / 0.6271 GB, free: 9.738 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001124/0.8139, allocations: 1.423 MB / 0.6285 GB, free: 8.289 MB / 442.7 MB Notification: Performance of SimCode: time 7.61e-07/0.814, allocations: 0 / 0.6285 GB, free: 8.289 MB / 442.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TreeWinding_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TreeWinding.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TreeWinding.pipe 2>&1)