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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001258/0.001258, allocations: 115 kB / 16.63 MB, free: 6.812 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.001434/0.001434, allocations: 186 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.172/0.172, allocations: 38.02 MB / 329.4 MB, free: 8.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 66.98 kB / 398.4 MB, free: 34.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1033, allocations: 58.06 MB / 456.4 MB, free: 8.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.009708/0.1131, allocations: 9.598 MB / 466 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006094/0.1192, allocations: 3.405 MB / 469.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001032/0.1202, allocations: 59.62 kB / 469.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002207/0.1225, allocations: 0.8289 MB / 470.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.1245, allocations: 0.8447 MB / 471.2 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.1259, allocations: 0.5888 MB / 471.8 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002303/0.1282, allocations: 1.961 MB / 473.7 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.1293, allocations: 0.7006 MB / 474.4 MB, free: 6.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001301/0.1306, allocations: 0.8328 MB / 475.3 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001725/0.1323, allocations: 1.204 MB / 476.5 MB, free: 4.207 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002981/0.1327, allocations: 116 kB / 476.6 MB, free: 4.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.1338, allocations: 0.5343 MB / 477.1 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001009/0.1348, allocations: 0.7873 MB / 477.9 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001202/0.136, allocations: 0.758 MB / 478.7 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00235/0.1384, allocations: 1.982 MB / 480.6 MB, free: 20 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1384, allocations: 0 / 480.6 MB, free: 20 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1384, allocations: 0 / 480.6 MB, free: 20 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.828e-05/0.1385, allocations: 0 / 480.6 MB, free: 20 kB / 350.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.003758/0.1423, allocations: 1.668 MB / 482.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.1423, allocations: 11.89 kB / 482.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003693/0.1427, allocations: 219.6 kB / 482.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001661/0.1444, allocations: 278.9 kB / 482.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.1458, allocations: 0.8714 MB / 483.7 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.113e-05/0.1459, allocations: 86.8 kB / 483.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003219/0.1462, allocations: 155.9 kB / 483.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003021/0.1493, allocations: 2.084 MB / 486 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.002e-05/0.1493, allocations: 11.84 kB / 486 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001377/0.1495, allocations: 59.97 kB / 486.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004455/0.1499, allocations: 178.5 kB / 486.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002594/0.1525, allocations: 1.677 MB / 487.9 MB, free: 8.457 MB / 366.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.01056/0.1631, allocations: 9.415 MB / 497.3 MB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.1643, allocations: 0.8905 MB / 498.2 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005868/0.1649, allocations: 444.4 kB / 498.7 MB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.283e-05/0.165, allocations: 16.64 kB / 498.7 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.165, allocations: 39.22 kB / 498.7 MB, free: 13.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=81): time 2.314e-06/0.165, allocations: 4 kB / 498.7 MB, free: 13.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.004715/0.1698, allocations: 3.037 MB / 0.49 GB, free: 9.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.1698, allocations: 90.11 kB / 0.4901 GB, free: 9.816 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008342/0.1707, allocations: 0.7581 MB / 0.4908 GB, free: 9.047 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.353e-05/0.1707, allocations: 37.7 kB / 0.4909 GB, free: 9.004 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004167/0.1712, allocations: 0.6996 MB / 0.4915 GB, free: 8.293 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.1714, allocations: 307.7 kB / 0.4918 GB, free: 7.988 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003143/0.1717, allocations: 259.2 kB / 0.4921 GB, free: 7.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1719, allocations: 410.7 kB / 0.4925 GB, free: 7.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006683/0.1726, allocations: 451.7 kB / 0.4929 GB, free: 6.879 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009809/0.1735, allocations: 1.018 MB / 0.4939 GB, free: 5.602 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001851/0.1754, allocations: 1.606 MB / 0.4955 GB, free: 3.734 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.537e-05/0.1754, allocations: 8 kB / 0.4955 GB, free: 3.727 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003558/0.179, allocations: 1.954 MB / 0.4974 GB, free: 1.754 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.179, allocations: 16 kB / 0.4974 GB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002073/0.1811, allocations: 1.199 MB / 0.4986 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001282/0.1824, allocations: 463.6 kB / 0.499 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007907/0.1832, allocations: 255.6 kB / 0.4993 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006998/0.1902, allocations: 5.9 MB / 0.505 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006938/0.1909, allocations: 59.92 kB / 0.5051 GB, free: 9.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.1911, allocations: 71.92 kB / 0.5051 GB, free: 9.523 MB / 398.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.0007296/0.1918, allocations: 471.6 kB / 0.5056 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.192, allocations: 86.88 kB / 0.5057 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002194/0.1942, allocations: 1.391 MB / 0.507 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.1942, allocations: 8 kB / 0.507 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.1942, allocations: 4 kB / 0.507 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.1942, allocations: 7.984 kB / 0.5071 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003896/0.1981, allocations: 2.477 MB / 0.5095 GB, free: 4.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.1981, allocations: 4 kB / 0.5095 GB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005085/0.1987, allocations: 131.8 kB / 0.5096 GB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005379/0.1992, allocations: 194.4 kB / 0.5098 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.121e-05/0.1993, allocations: 23.98 kB / 0.5098 GB, free: 4.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2394/0.4387, allocations: 4.938 MB / 0.5146 GB, free: 68.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.4387, allocations: 7.203 kB / 0.5146 GB, free: 68.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002708/0.4415, allocations: 1.848 MB / 0.5164 GB, free: 67.94 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003625/0.4418, allocations: 226.2 kB / 0.5167 GB, free: 67.85 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/0.442, allocations: 22.91 kB / 0.5167 GB, free: 67.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.4424, allocations: 31.36 kB / 0.5167 GB, free: 67.85 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.4426, allocations: 63.08 kB / 0.5168 GB, free: 67.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.894e-05/0.4426, allocations: 23.33 kB / 0.5168 GB, free: 67.85 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006486/0.4433, allocations: 0.4915 MB / 0.5173 GB, free: 67.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4433, allocations: 0 / 0.5173 GB, free: 67.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001201/0.4445, allocations: 329.7 kB / 0.5176 GB, free: 67.75 MB / 398.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.002489/0.447, allocations: 2.414 MB / 0.5199 GB, free: 66.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003041/0.4501, allocations: 1.84 MB / 0.5217 GB, free: 65.95 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.4501, allocations: 3.719 kB / 0.5217 GB, free: 65.95 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001243/0.4513, allocations: 0.8371 MB / 0.5226 GB, free: 65.46 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000847/0.4522, allocations: 170.8 kB / 0.5227 GB, free: 65.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01562/0.4678, allocations: 11.35 MB / 0.5338 GB, free: 58.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/0.469, allocations: 1.321 MB / 0.5351 GB, free: 57.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009666/0.4699, allocations: 362.2 kB / 0.5354 GB, free: 57.9 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004131/0.4704, allocations: 457.5 kB / 0.5359 GB, free: 57.55 MB / 398.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4704, allocations: 7.969 kB / 0.5359 GB, free: 57.54 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03777/0.5081, allocations: 20.85 MB / 0.5562 GB, free: 41.99 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001493/0.5083, allocations: 231.7 kB / 0.5565 GB, free: 41.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.261/2.769, allocations: 0 / 0.5565 GB, free: 41.73 MB / 398.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)