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.001676/0.001676, allocations: 182.6 kB / 13.64 MB, free: 1.676 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.758/1.758, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.001724/0.001724, allocations: 120.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2077/0.2077, allocations: 37.91 MB / 336.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.126e-05/4.133e-05, allocations: 12 kB / 397.6 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3403, allocations: 53.21 MB / 450.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5955/0.9359, allocations: 104.8 MB / 0.5426 GB, free: 28.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003314/0.9363, allocations: 92.64 kB / 0.5427 GB, free: 28.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1093/1.046, allocations: 40.9 MB / 0.5827 GB, free: 17.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.885e-06/1.046, allocations: 0 / 0.5827 GB, free: 17.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001133/1.046, allocations: 31.12 kB / 0.5827 GB, free: 17.74 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.004709/1.05, allocations: 1.344 MB / 0.584 GB, free: 16.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/1.051, allocations: 11.5 kB / 0.584 GB, free: 16.83 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007299/1.051, allocations: 215.3 kB / 0.5842 GB, free: 16.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00301/1.054, allocations: 341.5 kB / 0.5846 GB, free: 16.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006421/1.061, allocations: 1.812 MB / 0.5863 GB, free: 15.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/1.061, allocations: 91.81 kB / 0.5864 GB, free: 15.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006124/1.062, allocations: 121.6 kB / 0.5865 GB, free: 15.76 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004696/1.066, allocations: 1.993 MB / 0.5885 GB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.597e-05/1.066, allocations: 7.812 kB / 0.5885 GB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000193/1.067, allocations: 54.09 kB / 0.5885 GB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003353/1.067, allocations: 164 kB / 0.5887 GB, free: 14.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003047/1.07, allocations: 1.55 MB / 0.5902 GB, free: 14.77 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.01073/1.081, allocations: 9.147 MB / 0.5991 GB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/1.082, allocations: 0.8365 MB / 0.6 GB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005952/1.082, allocations: 0.4951 MB / 0.6004 GB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.852e-05/1.082, allocations: 16.08 kB / 0.6005 GB, free: 7.945 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/1.083, allocations: 42 kB / 0.6005 GB, free: 7.902 MB / 378.7 MB Notification: Performance of pre-optimization done (n=93): time 6.643e-06/1.083, allocations: 4 kB / 0.6005 GB, free: 7.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=97): time 0.004684/1.087, allocations: 3.027 MB / 0.6035 GB, free: 6.586 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/1.087, allocations: 85.48 kB / 0.6035 GB, free: 6.492 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007203/1.088, allocations: 0.6189 MB / 0.6041 GB, free: 6.289 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.29e-05/1.088, allocations: 40.39 kB / 0.6042 GB, free: 6.258 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004095/1.088, allocations: 0.6673 MB / 0.6048 GB, free: 5.789 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000239/1.089, allocations: 353.2 kB / 0.6052 GB, free: 5.543 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.186e-05/1.089, allocations: 24.44 kB / 0.6052 GB, free: 5.543 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/1.089, allocations: 407.6 kB / 0.6056 GB, free: 5.199 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006704/1.09, allocations: 496.1 kB / 0.6061 GB, free: 5.145 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009835/1.091, allocations: 0.9857 MB / 0.607 GB, free: 4.223 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009433/1.092, allocations: 0.6887 MB / 0.6077 GB, free: 3.707 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/1.092, allocations: 7.938 kB / 0.6077 GB, free: 3.699 MB / 378.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.00312/1.095, allocations: 2.004 MB / 0.6096 GB, free: 1.863 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/1.095, allocations: 16.25 kB / 0.6097 GB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002054/1.097, allocations: 1.317 MB / 0.611 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/1.098, allocations: 447 kB / 0.6114 GB, free: 84 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009632/1.099, allocations: 255.5 kB / 0.6116 GB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007605/1.107, allocations: 5.391 MB / 0.6169 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/1.108, allocations: 67.95 kB / 0.617 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/1.108, allocations: 64 kB / 0.617 GB, free: 10.05 MB / 394.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 () * 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.0002942/1.108, allocations: 188.5 kB / 0.6172 GB, free: 9.859 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/1.109, allocations: 102.7 kB / 0.6173 GB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002841/1.111, allocations: 1.527 MB / 0.6188 GB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.746e-05/1.112, allocations: 27.98 kB / 0.6188 GB, free: 8.129 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/1.112, allocations: 0 / 0.6188 GB, free: 8.129 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/1.112, allocations: 3.984 kB / 0.6188 GB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004715/1.116, allocations: 2.708 MB / 0.6215 GB, free: 5.305 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/1.116, allocations: 4 kB / 0.6215 GB, free: 5.301 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006123/1.117, allocations: 143.8 kB / 0.6216 GB, free: 5.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005428/1.117, allocations: 190.5 kB / 0.6218 GB, free: 4.965 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.307e-05/1.118, allocations: 23.98 kB / 0.6218 GB, free: 4.941 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004406/1.122, allocations: 4.587 MB / 0.6263 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.122, allocations: 4.031 kB / 0.6263 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003054/1.125, allocations: 2.14 MB / 0.6284 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005237/1.126, allocations: 243.9 kB / 0.6286 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/1.126, allocations: 23.98 kB / 0.6286 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004492/1.126, allocations: 43.95 kB / 0.6287 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/1.126, allocations: 60.69 kB / 0.6287 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.586e-05/1.126, allocations: 20 kB / 0.6287 GB, free: 13.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007573/1.127, allocations: 475.1 kB / 0.6292 GB, free: 12.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.127, allocations: 4 kB / 0.6292 GB, free: 12.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001849/1.129, allocations: 367.9 kB / 0.6296 GB, free: 12.45 MB / 410.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.003939/1.133, allocations: 3.11 MB / 0.6326 GB, free: 9.223 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003163/1.136, allocations: 1.623 MB / 0.6342 GB, free: 7.574 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/1.136, allocations: 5.938 kB / 0.6342 GB, free: 7.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001516/1.138, allocations: 0.9102 MB / 0.6351 GB, free: 6.629 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009837/1.139, allocations: 150.8 kB / 0.6352 GB, free: 6.484 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006905/1.146, allocations: 2.74 MB / 0.6379 GB, free: 3.684 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001513/1.147, allocations: 1.354 MB / 0.6392 GB, free: 2.297 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001118/1.148, allocations: 352.3 kB / 0.6396 GB, free: 1.949 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000683/1.149, allocations: 459.3 kB / 0.64 GB, free: 1.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.212e-06/1.149, allocations: 0 / 0.64 GB, free: 1.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04574/1.195, allocations: 21.6 MB / 0.6611 GB, free: 11.87 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/1.195, allocations: 181.8 kB / 0.6613 GB, free: 11.64 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.87/4.065, allocations: 3.938 kB / 0.6613 GB, free: 11.64 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)