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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00143/0.00143, allocations: 180 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.295/1.295, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.001567/0.001567, allocations: 111.8 kB / 256.9 MB, free: 4.367 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1583/0.1583, allocations: 37.99 MB / 340.1 MB, free: 1.359 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.000379, allocations: 8 kB / 403.9 MB, free: 68.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0928/0.0932, allocations: 53.24 MB / 457.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3219/0.4151, allocations: 104.9 MB / 0.5488 GB, free: 6.773 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.4154, allocations: 87.45 kB / 0.5489 GB, free: 6.727 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1086/0.524, allocations: 40.92 MB / 0.5889 GB, free: 3.359 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.5241, allocations: 0 / 0.5889 GB, free: 3.359 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.578e-05/0.5242, allocations: 32 kB / 0.5889 GB, free: 3.328 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.002827/0.527, allocations: 1.472 MB / 0.5903 GB, free: 1.895 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.5271, allocations: 16.02 kB / 0.5904 GB, free: 1.879 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002469/0.5273, allocations: 211.3 kB / 0.5906 GB, free: 1.738 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002131/0.5295, allocations: 337.9 kB / 0.5909 GB, free: 1.406 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004689/0.5342, allocations: 1.823 MB / 0.5927 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.957e-05/0.5343, allocations: 95.09 kB / 0.5928 GB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.5345, allocations: 121.9 kB / 0.5929 GB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002895/0.5374, allocations: 2.011 MB / 0.5948 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.848e-05/0.5374, allocations: 15.92 kB / 0.5948 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.5375, allocations: 54.11 kB / 0.5949 GB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002608/0.5378, allocations: 163.6 kB / 0.5951 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002266/0.5401, allocations: 1.578 MB / 0.5966 GB, free: 12.75 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01067/0.5508, allocations: 9.153 MB / 0.6055 GB, free: 3.125 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.5519, allocations: 0.8429 MB / 0.6064 GB, free: 2.242 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.042e-05/0.552, allocations: 17.05 kB / 0.6064 GB, free: 2.227 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.552, allocations: 39.56 kB / 0.6064 GB, free: 2.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=93): time 3.416e-06/0.552, allocations: 0 / 0.6064 GB, free: 2.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=97): time 0.005362/0.5574, allocations: 3.664 MB / 0.61 GB, free: 14.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/0.5575, allocations: 97.98 kB / 0.6101 GB, free: 14.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009203/0.5584, allocations: 0.6206 MB / 0.6107 GB, free: 13.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.678e-05/0.5585, allocations: 45.61 kB / 0.6107 GB, free: 13.56 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005236/0.559, allocations: 0.665 MB / 0.6114 GB, free: 12.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003073/0.5593, allocations: 351 kB / 0.6117 GB, free: 12.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.538e-05/0.5594, allocations: 28.03 kB / 0.6117 GB, free: 12.51 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002295/0.5596, allocations: 402.7 kB / 0.6121 GB, free: 12.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007094/0.5603, allocations: 0.4912 MB / 0.6126 GB, free: 11.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/0.5614, allocations: 1.006 MB / 0.6136 GB, free: 10.37 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009811/0.5624, allocations: 0.6783 MB / 0.6143 GB, free: 9.695 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.5625, allocations: 4 kB / 0.6143 GB, free: 9.691 MB / 426.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003377/0.5658, allocations: 2.024 MB / 0.6162 GB, free: 7.648 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.5659, allocations: 16.25 kB / 0.6162 GB, free: 7.633 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002252/0.5681, allocations: 1.335 MB / 0.6176 GB, free: 6.293 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/0.5695, allocations: 449.3 kB / 0.618 GB, free: 5.848 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000834/0.5703, allocations: 259.5 kB / 0.6182 GB, free: 5.594 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006806/0.5771, allocations: 5.593 MB / 0.6237 GB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008706/0.578, allocations: 67.95 kB / 0.6238 GB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-05/0.5781, allocations: 67.98 kB / 0.6238 GB, free: 15.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * 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.000827/0.579, allocations: 469.6 kB / 0.6243 GB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.5791, allocations: 94.83 kB / 0.6244 GB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002246/0.5814, allocations: 1.544 MB / 0.6259 GB, free: 13.42 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.759e-05/0.5814, allocations: 23.98 kB / 0.6259 GB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.5814, allocations: 4 kB / 0.6259 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.5814, allocations: 3.984 kB / 0.6259 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003818/0.5853, allocations: 2.727 MB / 0.6286 GB, free: 10.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.5853, allocations: 8 kB / 0.6286 GB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005768/0.5859, allocations: 139.8 kB / 0.6287 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004935/0.5864, allocations: 186.4 kB / 0.6289 GB, free: 10.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.424e-05/0.5864, allocations: 35.86 kB / 0.6289 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003541/0.59, allocations: 4.638 MB / 0.6334 GB, free: 5.121 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.59, allocations: 8.031 kB / 0.6334 GB, free: 5.113 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002677/0.5927, allocations: 2.171 MB / 0.6356 GB, free: 2.812 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004379/0.5931, allocations: 243.9 kB / 0.6358 GB, free: 2.555 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.785e-05/0.5933, allocations: 23.98 kB / 0.6358 GB, free: 2.531 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004171/0.5937, allocations: 43.95 kB / 0.6359 GB, free: 2.488 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.5938, allocations: 60.89 kB / 0.6359 GB, free: 2.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.321e-05/0.5938, allocations: 27.98 kB / 0.636 GB, free: 2.402 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005392/0.5944, allocations: 479 kB / 0.6364 GB, free: 1.934 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5944, allocations: 0 / 0.6364 GB, free: 1.934 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001166/0.5956, allocations: 363.9 kB / 0.6368 GB, free: 1.578 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 () * Number of clocked 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.003191/0.5988, allocations: 3.137 MB / 0.6398 GB, free: 14.31 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002548/0.6013, allocations: 1.668 MB / 0.6414 GB, free: 12.62 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.6013, allocations: 0 / 0.6414 GB, free: 12.62 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001388/0.6027, allocations: 0.9236 MB / 0.6423 GB, free: 11.66 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006496/0.6034, allocations: 143.2 kB / 0.6425 GB, free: 11.52 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01772/0.6211, allocations: 19.46 MB / 0.6615 GB, free: 7.539 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/0.6222, allocations: 1.342 MB / 0.6628 GB, free: 6.164 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000969/0.6232, allocations: 360.3 kB / 0.6631 GB, free: 5.809 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005508/0.6238, allocations: 459.3 kB / 0.6636 GB, free: 5.359 MB / 474.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6238, allocations: 0 / 0.6636 GB, free: 5.359 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2292/0.853, allocations: 21.5 MB / 0.6846 GB, free: 136.8 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/0.8532, allocations: 195.3 kB / 0.6848 GB, free: 136.6 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.408/3.261, allocations: 0 / 0.6848 GB, free: 136.6 MB / 474.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)