Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding",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.3+maint.om/package.mo): time 0.001393/0.001394, allocations: 186 kB / 8.137 MB, free: 2.188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.239/1.239, allocations: 205.2 MB / 213.7 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008758/0.0008758, allocations: 95.67 kB / 261.7 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1607/0.1607, allocations: 37.97 MB / 347.7 MB, free: 7.457 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2084/0.3692, allocations: 62.44 MB / 410.1 MB, free: 46.74 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.4729, allocations: 56.31 MB / 466.4 MB, free: 6.359 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3164/0.7893, allocations: 109.2 MB / 0.5621 GB, free: 1.348 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.7896, allocations: 79.95 kB / 0.5622 GB, free: 1.27 MB / 394.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.1198/0.9094, allocations: 41.76 MB / 0.603 GB, free: 6.973 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.9095, allocations: 12 kB / 0.603 GB, free: 6.961 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002756/0.9123, allocations: 349.8 kB / 0.6033 GB, free: 6.617 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006192/0.9185, allocations: 1.818 MB / 0.6051 GB, free: 4.75 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.9187, allocations: 36 kB / 0.6051 GB, free: 4.715 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006762/0.9194, allocations: 75.91 kB / 0.6052 GB, free: 4.641 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004153/0.9235, allocations: 1.423 MB / 0.6066 GB, free: 3.215 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004022/0.9276, allocations: 1.864 MB / 0.6084 GB, free: 1.195 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.067e-05/0.9276, allocations: 7.938 kB / 0.6084 GB, free: 1.188 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001732/0.9278, allocations: 15.91 kB / 0.6084 GB, free: 1.172 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000289/0.9281, allocations: 170.4 kB / 0.6086 GB, free: 1.004 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01267/0.9408, allocations: 8.931 MB / 0.6173 GB, free: 7.629 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009151/0.9418, allocations: 0.5887 MB / 0.6179 GB, free: 7.023 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007366/0.9425, allocations: 0.4911 MB / 0.6184 GB, free: 6.531 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.21e-05/0.9426, allocations: 24.75 kB / 0.6184 GB, free: 6.508 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/0.9427, allocations: 43.28 kB / 0.6184 GB, free: 6.457 MB / 458.7 MB Notification: Performance of pre-optimization done (n=93): time 7.544e-06/0.9427, allocations: 4 kB / 0.6184 GB, free: 6.453 MB / 458.7 MB Notification: Performance of matching and sorting (n=97): time 0.005968/0.9487, allocations: 2.975 MB / 0.6213 GB, free: 3.363 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.9488, allocations: 85.89 kB / 0.6214 GB, free: 3.262 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000937/0.9497, allocations: 0.5855 MB / 0.622 GB, free: 2.668 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.028e-05/0.9498, allocations: 25.7 kB / 0.622 GB, free: 2.637 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004621/0.9503, allocations: 0.6025 MB / 0.6226 GB, free: 2.023 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003057/0.9506, allocations: 335.1 kB / 0.6229 GB, free: 1.691 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-05/0.9506, allocations: 0 / 0.6229 GB, free: 1.691 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002303/0.9509, allocations: 406.6 kB / 0.6233 GB, free: 1.285 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007427/0.9516, allocations: 491.1 kB / 0.6238 GB, free: 0.8047 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.9528, allocations: 0.9891 MB / 0.6247 GB, free: 15.59 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/0.954, allocations: 0.6973 MB / 0.6254 GB, free: 14.88 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-05/0.954, allocations: 8 kB / 0.6254 GB, free: 14.88 MB / 474.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.003918/0.958, allocations: 1.9 MB / 0.6273 GB, free: 12.96 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.958, allocations: 4 kB / 0.6273 GB, free: 12.96 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002573/0.9606, allocations: 1.324 MB / 0.6286 GB, free: 11.63 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001494/0.9621, allocations: 441.1 kB / 0.629 GB, free: 11.19 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009891/0.9631, allocations: 251.5 kB / 0.6292 GB, free: 10.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007152/0.9703, allocations: 4.95 MB / 0.6341 GB, free: 5.766 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009947/0.9713, allocations: 36.06 kB / 0.6341 GB, free: 5.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002526/0.9716, allocations: 67.91 kB / 0.6342 GB, free: 5.664 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.0003208/0.9719, allocations: 144.5 kB / 0.6343 GB, free: 5.516 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002214/0.9721, allocations: 86.88 kB / 0.6344 GB, free: 5.43 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002994/0.9751, allocations: 1.545 MB / 0.6359 GB, free: 3.809 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.623e-05/0.9752, allocations: 20 kB / 0.6359 GB, free: 3.789 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/0.9752, allocations: 4 kB / 0.6359 GB, free: 3.785 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/0.9752, allocations: 7.969 kB / 0.6359 GB, free: 3.777 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005116/0.9804, allocations: 2.789 MB / 0.6387 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.9804, allocations: 4.094 kB / 0.6387 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007062/0.9811, allocations: 135.8 kB / 0.6388 GB, free: 0.668 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000581/0.9817, allocations: 182.6 kB / 0.639 GB, free: 492 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.099e-05/0.9818, allocations: 19.98 kB / 0.639 GB, free: 472 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1523/1.134, allocations: 4.387 MB / 0.6433 GB, free: 179.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.134, allocations: 3.969 kB / 0.6433 GB, free: 179.4 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002731/1.137, allocations: 2.305 MB / 0.6455 GB, free: 178.7 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003188/1.14, allocations: 3.279 MB / 0.6487 GB, free: 177.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004238/1.141, allocations: 243.8 kB / 0.649 GB, free: 177.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000179/1.141, allocations: 21.22 kB / 0.649 GB, free: 177.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005148/1.141, allocations: 26.86 kB / 0.649 GB, free: 177.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.644e-05/1.141, allocations: 45.69 kB / 0.6491 GB, free: 177.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.308e-05/1.141, allocations: 33.47 kB / 0.6491 GB, free: 177.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0004877/1.142, allocations: 429.1 kB / 0.6495 GB, free: 177.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00178/1.144, allocations: 320.9 kB / 0.6498 GB, free: 177.4 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.0002926/1.144, allocations: 165.6 kB / 0.65 GB, free: 177.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002266/1.146, allocations: 1.518 MB / 0.6514 GB, free: 177.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.146, allocations: 3.75 kB / 0.6514 GB, free: 177.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001215/1.148, allocations: 0.8659 MB / 0.6523 GB, free: 176.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006677/1.148, allocations: 139 kB / 0.6524 GB, free: 176.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004524/1.153, allocations: 2.419 MB / 0.6548 GB, free: 176.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/1.154, allocations: 1.425 MB / 0.6562 GB, free: 175.5 MB / 474.7 MB Notification: Performance of SimCode: time 4.31e-07/1.154, allocations: 0 / 0.6562 GB, free: 175.5 MB / 474.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe 2>&1)