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.00104/0.00104, allocations: 179.4 kB / 8.351 MB, free: 0.7227 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.649/1.649, allocations: 194.3 MB / 203.1 MB, free: 13.02 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.001654/0.001655, allocations: 113.5 kB / 248.1 MB, free: 36 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1645/0.1645, allocations: 37.94 MB / 330.9 MB, free: 2.656 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.148e-05/2.149e-05, allocations: 4 kB / 390.5 MB, free: 7.012 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2947, allocations: 53.23 MB / 443.7 MB, free: 17.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4177/0.7125, allocations: 104.1 MB / 0.535 GB, free: 37.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/0.7129, allocations: 87.42 kB / 0.5351 GB, free: 37.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1032/0.8161, allocations: 40.55 MB / 0.5747 GB, free: 27.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.8162, allocations: 0 / 0.5747 GB, free: 27.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.407e-05/0.8163, allocations: 35.42 kB / 0.5747 GB, free: 27.88 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.002564/0.8188, allocations: 1.346 MB / 0.576 GB, free: 26.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.8189, allocations: 11.72 kB / 0.576 GB, free: 26.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002055/0.8209, allocations: 345.4 kB / 0.5764 GB, free: 26.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004373/0.8253, allocations: 1.795 MB / 0.5781 GB, free: 25.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.908e-05/0.8254, allocations: 39.16 kB / 0.5781 GB, free: 25.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/0.8256, allocations: 77.28 kB / 0.5782 GB, free: 25.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002064/0.8276, allocations: 1.367 MB / 0.5796 GB, free: 25.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002239/0.8299, allocations: 1.829 MB / 0.5813 GB, free: 25.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.29e-05/0.83, allocations: 7.844 kB / 0.5813 GB, free: 25.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.8301, allocations: 3.906 kB / 0.5814 GB, free: 25.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002676/0.8303, allocations: 165.2 kB / 0.5815 GB, free: 25.01 MB / 378.7 MB Warning: The model contains alias variables with conflicting start and/or 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.008303/0.8387, allocations: 8.851 MB / 0.5902 GB, free: 18.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008057/0.8395, allocations: 0.7973 MB / 0.5909 GB, free: 18.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004685/0.84, allocations: 481.8 kB / 0.5914 GB, free: 18.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.308e-05/0.84, allocations: 20.45 kB / 0.5914 GB, free: 18.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.8401, allocations: 42.59 kB / 0.5915 GB, free: 18.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=93): time 4.709e-06/0.8401, allocations: 0 / 0.5915 GB, free: 18.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=97): time 0.004237/0.8443, allocations: 2.898 MB / 0.5943 GB, free: 16.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.8444, allocations: 89.64 kB / 0.5944 GB, free: 16.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006149/0.845, allocations: 0.5838 MB / 0.5949 GB, free: 16.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.993e-05/0.8451, allocations: 25.7 kB / 0.595 GB, free: 16.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002772/0.8454, allocations: 0.6719 MB / 0.5956 GB, free: 16.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/0.8456, allocations: 327.5 kB / 0.5959 GB, free: 15.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.755e-05/0.8456, allocations: 0 / 0.5959 GB, free: 15.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.8457, allocations: 404.3 kB / 0.5963 GB, free: 15.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005215/0.8463, allocations: 467.4 kB / 0.5968 GB, free: 15.47 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007607/0.847, allocations: 0.9692 MB / 0.5977 GB, free: 14.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008231/0.8479, allocations: 0.6769 MB / 0.5984 GB, free: 14.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.8479, allocations: 3.781 kB / 0.5984 GB, free: 14.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.002821/0.8507, allocations: 1.866 MB / 0.6002 GB, free: 14.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.8508, allocations: 11.25 kB / 0.6002 GB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001936/0.8527, allocations: 1.278 MB / 0.6015 GB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/0.8539, allocations: 427.4 kB / 0.6019 GB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008609/0.8548, allocations: 261.1 kB / 0.6021 GB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005067/0.8599, allocations: 5.133 MB / 0.6071 GB, free: 8.586 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.8609, allocations: 43.98 kB / 0.6072 GB, free: 8.543 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.833e-05/0.861, allocations: 64 kB / 0.6072 GB, free: 8.48 MB / 378.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.0002516/0.8613, allocations: 152.2 kB / 0.6074 GB, free: 8.328 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001927/0.8632, allocations: 1.365 MB / 0.6087 GB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.8634, allocations: 90.83 kB / 0.6088 GB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/0.8654, allocations: 1.48 MB / 0.6102 GB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.847e-05/0.8654, allocations: 19.98 kB / 0.6103 GB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.8654, allocations: 4 kB / 0.6103 GB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.8654, allocations: 3.984 kB / 0.6103 GB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003405/0.8688, allocations: 2.476 MB / 0.6127 GB, free: 2.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.8689, allocations: 4 kB / 0.6127 GB, free: 2.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000558/0.8694, allocations: 147.8 kB / 0.6128 GB, free: 2.465 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004413/0.8699, allocations: 186.5 kB / 0.613 GB, free: 2.273 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.712e-05/0.87, allocations: 15.94 kB / 0.613 GB, free: 2.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003161/0.8731, allocations: 4.421 MB / 0.6173 GB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/0.8732, allocations: 4.031 kB / 0.6173 GB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002887/0.876, allocations: 2.09 MB / 0.6194 GB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004178/0.8765, allocations: 240 kB / 0.6196 GB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.8766, allocations: 4 kB / 0.6196 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004419/0.877, allocations: 39.89 kB / 0.6197 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.8772, allocations: 56.64 kB / 0.6197 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.357e-05/0.8772, allocations: 31.98 kB / 0.6197 GB, free: 10.88 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005937/0.8778, allocations: 427.1 kB / 0.6201 GB, free: 10.46 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.8778, allocations: 0 / 0.6201 GB, free: 10.46 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001473/0.8793, allocations: 327.9 kB / 0.6205 GB, free: 10.14 MB / 394.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 () * 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.003935/0.8833, allocations: 3.045 MB / 0.6234 GB, free: 6.973 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002764/0.886, allocations: 1.522 MB / 0.6249 GB, free: 5.426 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.8861, allocations: 4.125 kB / 0.6249 GB, free: 5.422 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001423/0.8875, allocations: 0.867 MB / 0.6258 GB, free: 4.527 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008512/0.8884, allocations: 143.8 kB / 0.6259 GB, free: 4.387 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005402/0.8938, allocations: 2.654 MB / 0.6285 GB, free: 1.668 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/0.8949, allocations: 1.342 MB / 0.6298 GB, free: 296 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001021/0.8959, allocations: 372.2 kB / 0.6302 GB, free: 15.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005701/0.8965, allocations: 463.3 kB / 0.6306 GB, free: 15.47 MB / 410.7 MB Notification: Performance of SimCode: time 1.323e-06/0.8965, allocations: 0 / 0.6306 GB, free: 15.47 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05294/0.9495, allocations: 20.52 MB / 0.6506 GB, free: 10.92 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002211/0.9498, allocations: 141.2 kB / 0.6508 GB, free: 10.73 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.645/3.595, allocations: 0 / 0.6508 GB, free: 10.73 MB / 426.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)