Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_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_cpp_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002274/0.002274, allocations: 183.7 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.088/2.088, allocations: 205.4 MB / 221.9 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.001108/0.001107, allocations: 90.88 kB / 270.2 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2543/0.2543, allocations: 38.06 MB / 356.6 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004508/0.0004509, allocations: 12 kB / 422.8 MB, free: 26.33 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1113, allocations: 56.33 MB / 479.1 MB, free: 1.949 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4989/0.6102, allocations: 110 MB / 0.5753 GB, free: 5.832 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/0.6106, allocations: 87.27 kB / 0.5754 GB, free: 5.785 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1818/0.7924, allocations: 40.95 MB / 0.6154 GB, free: 2.395 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.7924, allocations: 0 / 0.6154 GB, free: 2.395 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.844e-05/0.7925, allocations: 31.94 kB / 0.6154 GB, free: 2.363 MB / 410.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.004762/0.7973, allocations: 1.457 MB / 0.6168 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.7974, allocations: 12.03 kB / 0.6168 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005018/0.7979, allocations: 216.3 kB / 0.617 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003764/0.8017, allocations: 337.9 kB / 0.6173 GB, free: 464 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007306/0.809, allocations: 1.828 MB / 0.6191 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.8092, allocations: 96.23 kB / 0.6192 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003456/0.8095, allocations: 122.8 kB / 0.6193 GB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004686/0.8142, allocations: 2.024 MB / 0.6213 GB, free: 13.08 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-05/0.8143, allocations: 15.84 kB / 0.6213 GB, free: 13.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001908/0.8145, allocations: 51.67 kB / 0.6214 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004867/0.815, allocations: 166.3 kB / 0.6215 GB, free: 12.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004276/0.8193, allocations: 1.578 MB / 0.6231 GB, free: 11.78 MB / 426.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.01909/0.8384, allocations: 9.14 MB / 0.632 GB, free: 2.715 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002176/0.8407, allocations: 0.839 MB / 0.6328 GB, free: 1.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000137/0.8408, allocations: 17.05 kB / 0.6328 GB, free: 1.824 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.661e-05/0.8409, allocations: 51.55 kB / 0.6329 GB, free: 1.766 MB / 426.7 MB Notification: Performance of pre-optimization done (n=93): time 3.918e-06/0.8409, allocations: 0 / 0.6329 GB, free: 1.766 MB / 426.7 MB Notification: Performance of matching and sorting (n=97): time 0.01036/0.8513, allocations: 3.665 MB / 0.6365 GB, free: 13.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.663e-05/0.8514, allocations: 90.14 kB / 0.6366 GB, free: 13.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.8527, allocations: 0.6245 MB / 0.6372 GB, free: 13.19 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002139/0.8529, allocations: 37.7 kB / 0.6372 GB, free: 13.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006197/0.8536, allocations: 0.6986 MB / 0.6379 GB, free: 12.44 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000474/0.8541, allocations: 351 kB / 0.6382 GB, free: 12.09 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.8542, allocations: 24 kB / 0.6382 GB, free: 12.07 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.8544, allocations: 370.8 kB / 0.6386 GB, free: 11.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/0.8558, allocations: 499 kB / 0.6391 GB, free: 11.21 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001901/0.8578, allocations: 1.01 MB / 0.6401 GB, free: 9.961 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002003/0.8598, allocations: 0.686 MB / 0.6407 GB, free: 9.277 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.745e-05/0.8599, allocations: 4 kB / 0.6407 GB, free: 9.273 MB / 442.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.006591/0.8665, allocations: 1.993 MB / 0.6427 GB, free: 7.266 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.882e-05/0.8665, allocations: 12 kB / 0.6427 GB, free: 7.254 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004576/0.8711, allocations: 1.332 MB / 0.644 GB, free: 5.914 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002536/0.8737, allocations: 451.9 kB / 0.6444 GB, free: 5.469 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001825/0.8756, allocations: 255.5 kB / 0.6447 GB, free: 5.219 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01215/0.8878, allocations: 5.586 MB / 0.6501 GB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.8892, allocations: 75.95 kB / 0.6502 GB, free: 15.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/0.8894, allocations: 63.98 kB / 0.6503 GB, free: 15.23 MB / 458.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.001199/0.8906, allocations: 464.1 kB / 0.6507 GB, free: 14.77 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002828/0.8909, allocations: 94.78 kB / 0.6508 GB, free: 14.68 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00439/0.8953, allocations: 1.556 MB / 0.6523 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.614e-05/0.8954, allocations: 24.06 kB / 0.6523 GB, free: 13.03 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.8955, allocations: 0 / 0.6523 GB, free: 13.03 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-05/0.8955, allocations: 3.984 kB / 0.6523 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007852/0.9034, allocations: 2.735 MB / 0.655 GB, free: 10.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/0.9034, allocations: 4 kB / 0.655 GB, free: 10.15 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/0.9047, allocations: 147.8 kB / 0.6552 GB, free: 10.01 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009874/0.9057, allocations: 178.3 kB / 0.6553 GB, free: 9.824 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002564/0.906, allocations: 23.98 kB / 0.6553 GB, free: 9.801 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006163/0.9122, allocations: 4.661 MB / 0.6599 GB, free: 4.738 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.9122, allocations: 0 / 0.6599 GB, free: 4.738 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005418/0.9177, allocations: 2.167 MB / 0.662 GB, free: 2.441 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007405/0.9185, allocations: 240 kB / 0.6622 GB, free: 2.188 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/0.9187, allocations: 27.94 kB / 0.6623 GB, free: 2.16 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008727/0.9195, allocations: 51.94 kB / 0.6623 GB, free: 2.109 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002202/0.9198, allocations: 60.86 kB / 0.6624 GB, free: 2.051 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.65e-05/0.9199, allocations: 23.98 kB / 0.6624 GB, free: 2.027 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001028/0.9209, allocations: 478.9 kB / 0.6629 GB, free: 1.559 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.9209, allocations: 0 / 0.6629 GB, free: 1.559 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002139/0.9231, allocations: 367.9 kB / 0.6632 GB, free: 1.199 MB / 458.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.006317/0.9294, allocations: 3.13 MB / 0.6663 GB, free: 13.94 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005353/0.9348, allocations: 1.664 MB / 0.6679 GB, free: 12.25 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.976e-06/0.9349, allocations: 0 / 0.6679 GB, free: 12.25 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002736/0.9376, allocations: 0.92 MB / 0.6688 GB, free: 11.29 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/0.939, allocations: 147.4 kB / 0.6689 GB, free: 11.15 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02733/0.9664, allocations: 19.59 MB / 0.6881 GB, free: 7.039 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001651/0.9681, allocations: 1.346 MB / 0.6894 GB, free: 5.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/0.9693, allocations: 467.3 kB / 0.6898 GB, free: 5.203 MB / 490.7 MB Notification: Performance of SimCode: time 1.463e-06/0.9693, allocations: 0 / 0.6898 GB, free: 5.203 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.635/4.605, allocations: 30.43 MB / 0.7195 GB, free: 153 MB / 0.4948 GB (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding.fmu > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe 2>&1)