Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 111.6 kB / 17.06 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002228/0.002228, allocations: 198.9 kB / 18 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1854/0.1854, allocations: 37.98 MB / 309.2 MB, free: 5.949 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 67.88 kB / 431.4 MB, free: 16.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08929/0.09084, allocations: 55.24 MB / 486.6 MB, free: 8.836 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.009256/0.1001, allocations: 8.16 MB / 494.8 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005384/0.1056, allocations: 3.028 MB / 497.8 MB, free: 13.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009064/0.1065, allocations: 31.81 kB / 497.8 MB, free: 13.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002487/0.109, allocations: 0.879 MB / 498.7 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002145/0.1112, allocations: 0.9066 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.1129, allocations: 0.6275 MB / 0.4885 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002398/0.1153, allocations: 1.954 MB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009221/0.1162, allocations: 0.6538 MB / 0.4911 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00147/0.1177, allocations: 0.8329 MB / 0.4919 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001685/0.1194, allocations: 1.11 MB / 0.493 GB, free: 6.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000312/0.1197, allocations: 112 kB / 0.4931 GB, free: 6.461 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.1209, allocations: 0.5305 MB / 0.4936 GB, free: 5.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008089/0.1217, allocations: 0.7911 MB / 0.4944 GB, free: 5.137 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001222/0.1229, allocations: 0.7542 MB / 0.4951 GB, free: 4.379 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002984/0.1259, allocations: 2.005 MB / 0.497 GB, free: 2.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1259, allocations: 0 / 0.497 GB, free: 2.367 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1259, allocations: 0 / 0.497 GB, free: 2.367 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.043e-05/0.126, allocations: 0 / 0.497 GB, free: 2.367 MB / 382.1 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.003282/0.1293, allocations: 1.668 MB / 0.4987 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.1293, allocations: 11.89 kB / 0.4987 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002904/0.1296, allocations: 219.6 kB / 0.4989 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001673/0.1313, allocations: 274.9 kB / 0.4992 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/0.1332, allocations: 0.9105 MB / 0.5 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-05/0.1332, allocations: 94.8 kB / 0.5001 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003235/0.1336, allocations: 151.8 kB / 0.5003 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003017/0.1366, allocations: 2.091 MB / 0.5023 GB, free: 12.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.336e-05/0.1367, allocations: 11.94 kB / 0.5023 GB, free: 12.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/0.1368, allocations: 55.97 kB / 0.5024 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004363/0.1373, allocations: 182.5 kB / 0.5026 GB, free: 12.44 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002768/0.14, allocations: 1.673 MB / 0.5042 GB, free: 10.76 MB / 398.1 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.0104/0.1505, allocations: 9.348 MB / 0.5133 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.1516, allocations: 0.9068 MB / 0.5142 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005679/0.1522, allocations: 443.5 kB / 0.5146 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.667e-05/0.1522, allocations: 12.64 kB / 0.5146 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.1523, allocations: 43.22 kB / 0.5147 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=81): time 2.735e-06/0.1523, allocations: 0 / 0.5147 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=85): time 0.004557/0.1568, allocations: 3.041 MB / 0.5177 GB, free: 12.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.1569, allocations: 86.11 kB / 0.5177 GB, free: 12.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007906/0.1577, allocations: 0.7583 MB / 0.5185 GB, free: 11.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.025e-05/0.1578, allocations: 37.7 kB / 0.5185 GB, free: 11.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004443/0.1582, allocations: 0.6995 MB / 0.5192 GB, free: 10.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002154/0.1584, allocations: 303.7 kB / 0.5195 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000316/0.1588, allocations: 259.3 kB / 0.5197 GB, free: 10.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.1589, allocations: 398.7 kB / 0.5201 GB, free: 9.684 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006602/0.1596, allocations: 455.7 kB / 0.5206 GB, free: 9.238 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000972/0.1606, allocations: 1.018 MB / 0.5215 GB, free: 7.961 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001783/0.1624, allocations: 1.617 MB / 0.5231 GB, free: 6.082 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.1624, allocations: 4 kB / 0.5231 GB, free: 6.078 MB / 414.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003273/0.1657, allocations: 1.958 MB / 0.525 GB, free: 4.102 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.1657, allocations: 12 kB / 0.5251 GB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00205/0.1678, allocations: 1.199 MB / 0.5262 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/0.1691, allocations: 461.1 kB / 0.5267 GB, free: 2.434 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008858/0.17, allocations: 255.6 kB / 0.5269 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1935/0.3635, allocations: 5.89 MB / 0.5327 GB, free: 47.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00091/0.3645, allocations: 54.83 kB / 0.5327 GB, free: 47.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.3646, allocations: 74.33 kB / 0.5328 GB, free: 47.64 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,15,100.0%), (2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006797/0.3653, allocations: 470.1 kB / 0.5332 GB, free: 47.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.3655, allocations: 89.19 kB / 0.5333 GB, free: 47.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002117/0.3676, allocations: 1.384 MB / 0.5347 GB, free: 46.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.3676, allocations: 8.344 kB / 0.5347 GB, free: 46.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/0.3676, allocations: 7.328 kB / 0.5347 GB, free: 46.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.3676, allocations: 8 kB / 0.5347 GB, free: 46.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00466/0.3723, allocations: 2.484 MB / 0.5371 GB, free: 45.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.3723, allocations: 3.031 kB / 0.5371 GB, free: 45.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007747/0.3731, allocations: 130.4 kB / 0.5372 GB, free: 45.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005781/0.3737, allocations: 184.4 kB / 0.5374 GB, free: 45.6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.568e-05/0.3738, allocations: 26.66 kB / 0.5374 GB, free: 45.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004036/0.3778, allocations: 4.953 MB / 0.5423 GB, free: 41.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.3779, allocations: 5.344 kB / 0.5423 GB, free: 41.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003397/0.3813, allocations: 1.856 MB / 0.5441 GB, free: 40.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005795/0.3819, allocations: 224.2 kB / 0.5443 GB, free: 40.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/0.3821, allocations: 22.64 kB / 0.5443 GB, free: 40.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004497/0.3825, allocations: 25.38 kB / 0.5444 GB, free: 40.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.3827, allocations: 55.41 kB / 0.5444 GB, free: 40.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.986e-05/0.3828, allocations: 36.7 kB / 0.5444 GB, free: 40.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001116/0.3839, allocations: 0.4915 MB / 0.5449 GB, free: 39.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.3839, allocations: 0 / 0.5449 GB, free: 39.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001674/0.3856, allocations: 322.3 kB / 0.5452 GB, free: 39.78 MB / 414.1 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0027/0.3883, allocations: 2.421 MB / 0.5476 GB, free: 38.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00272/0.391, allocations: 1.556 MB / 0.5491 GB, free: 37.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.3911, allocations: 0 / 0.5491 GB, free: 37.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.3924, allocations: 0.8408 MB / 0.5499 GB, free: 37.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009235/0.3933, allocations: 168 kB / 0.5501 GB, free: 37.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/0.407, allocations: 10.51 MB / 0.5604 GB, free: 31.19 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000885/0.408, allocations: 1.316 MB / 0.5616 GB, free: 30.4 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007467/0.4087, allocations: 363.2 kB / 0.562 GB, free: 30.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004154/0.4092, allocations: 460.6 kB / 0.5624 GB, free: 30 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4092, allocations: 0 / 0.5624 GB, free: 30 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04599/0.4552, allocations: 21.66 MB / 0.5836 GB, free: 9.277 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.14, allocations: 19.7 kB / 0.5836 GB, free: 9.258 MB / 414.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe 2>&1)