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: translateModel(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding") translateModel(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 111.9 kB / 17.06 MB, free: 6.004 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.002134/0.002134, allocations: 198.9 kB / 18 MB, free: 5.082 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.442/1.442, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1792/0.1792, allocations: 37.99 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.001422/0.001422, allocations: 71.91 kB / 431.9 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.116, allocations: 55.24 MB / 487.1 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.01167/0.1278, allocations: 8.168 MB / 495.3 MB, free: 140 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006277/0.1341, allocations: 3.02 MB / 498.3 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008915/0.135, allocations: 35.81 kB / 498.3 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00262/0.1377, allocations: 0.8828 MB / 499.2 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002861/0.1406, allocations: 0.9066 MB / 0.4884 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001919/0.1425, allocations: 0.6314 MB / 0.489 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002931/0.1455, allocations: 1.95 MB / 0.4909 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001123/0.1466, allocations: 0.6577 MB / 0.4916 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001539/0.1481, allocations: 0.8367 MB / 0.4924 GB, free: 7.176 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002083/0.1502, allocations: 1.102 MB / 0.4935 GB, free: 6.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003698/0.1506, allocations: 116 kB / 0.4936 GB, free: 5.957 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.152, allocations: 0.5305 MB / 0.4941 GB, free: 5.426 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001057/0.153, allocations: 0.7872 MB / 0.4948 GB, free: 4.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001398/0.1544, allocations: 0.7581 MB / 0.4956 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002999/0.1575, allocations: 1.998 MB / 0.4975 GB, free: 1.871 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1575, allocations: 0 / 0.4975 GB, free: 1.871 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1575, allocations: 4 kB / 0.4975 GB, free: 1.867 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.926e-05/0.1576, allocations: 0 / 0.4975 GB, free: 1.867 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.003872/0.1615, allocations: 1.668 MB / 0.4992 GB, free: 144 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.1615, allocations: 15.89 kB / 0.4992 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001778/0.1633, allocations: 278.9 kB / 0.4995 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001907/0.1652, allocations: 0.9067 MB / 0.5003 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.168e-05/0.1653, allocations: 94.78 kB / 0.5004 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003926/0.1657, allocations: 155.9 kB / 0.5006 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00339/0.1691, allocations: 2.084 MB / 0.5026 GB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.922e-05/0.1692, allocations: 7.938 kB / 0.5026 GB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001505/0.1694, allocations: 59.95 kB / 0.5027 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000486/0.1698, allocations: 178.5 kB / 0.5028 GB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003027/0.1729, allocations: 1.673 MB / 0.5045 GB, free: 10.49 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.01092/0.1838, allocations: 9.36 MB / 0.5136 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.1851, allocations: 0.8913 MB / 0.5145 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006282/0.1857, allocations: 447.4 kB / 0.5149 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7e-05/0.1858, allocations: 24.56 kB / 0.5149 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.1859, allocations: 39.22 kB / 0.515 GB, free: 15.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=81): time 3.266e-06/0.1859, allocations: 0 / 0.515 GB, free: 15.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=85): time 0.005671/0.1915, allocations: 3.037 MB / 0.5179 GB, free: 12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.348e-05/0.1916, allocations: 98.05 kB / 0.518 GB, free: 11.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.1928, allocations: 0.7504 MB / 0.5188 GB, free: 11.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.046e-05/0.1929, allocations: 41.7 kB / 0.5188 GB, free: 11.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006009/0.1935, allocations: 0.6996 MB / 0.5195 GB, free: 10.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/0.1938, allocations: 307.7 kB / 0.5198 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003499/0.1941, allocations: 259.3 kB / 0.52 GB, free: 9.797 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002326/0.1944, allocations: 402.7 kB / 0.5204 GB, free: 9.395 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006949/0.1951, allocations: 455.7 kB / 0.5209 GB, free: 8.949 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.1962, allocations: 1.01 MB / 0.5218 GB, free: 7.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002089/0.1983, allocations: 1.606 MB / 0.5234 GB, free: 5.812 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/0.1983, allocations: 7.938 kB / 0.5234 GB, free: 5.805 MB / 414.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003519/0.2019, allocations: 1.958 MB / 0.5253 GB, free: 3.828 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.655e-05/0.202, allocations: 16 kB / 0.5253 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002278/0.2042, allocations: 1.195 MB / 0.5265 GB, free: 2.617 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/0.2057, allocations: 461 kB / 0.527 GB, free: 2.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008876/0.2066, allocations: 259.6 kB / 0.5272 GB, free: 1.906 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2885/0.4951, allocations: 5.891 MB / 0.533 GB, free: 47.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/0.4968, allocations: 55.3 kB / 0.533 GB, free: 47.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000365/0.4972, allocations: 67.36 kB / 0.5331 GB, free: 47.55 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.001463/0.4987, allocations: 469.6 kB / 0.5335 GB, free: 47.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003435/0.4991, allocations: 90.69 kB / 0.5336 GB, free: 47.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00375/0.5029, allocations: 1.383 MB / 0.535 GB, free: 46.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/0.5029, allocations: 9.594 kB / 0.535 GB, free: 46.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/0.5029, allocations: 2.281 kB / 0.535 GB, free: 46.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.881e-05/0.503, allocations: 3.984 kB / 0.535 GB, free: 46.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004732/0.5077, allocations: 2.492 MB / 0.5374 GB, free: 45.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/0.5077, allocations: 1.188 kB / 0.5374 GB, free: 45.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005634/0.5083, allocations: 134 kB / 0.5375 GB, free: 45.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005284/0.5088, allocations: 179.5 kB / 0.5377 GB, free: 45.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.599e-05/0.5089, allocations: 28.22 kB / 0.5377 GB, free: 45.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004139/0.5131, allocations: 4.952 MB / 0.5426 GB, free: 40.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/0.5131, allocations: 2.125 kB / 0.5426 GB, free: 40.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003261/0.5164, allocations: 1.861 MB / 0.5444 GB, free: 40 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005965/0.517, allocations: 227 kB / 0.5446 GB, free: 39.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001855/0.5172, allocations: 22.36 kB / 0.5446 GB, free: 39.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004854/0.5177, allocations: 24.45 kB / 0.5446 GB, free: 39.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/0.5179, allocations: 61.58 kB / 0.5447 GB, free: 39.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.249e-05/0.518, allocations: 27.25 kB / 0.5447 GB, free: 39.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001116/0.5191, allocations: 0.4895 MB / 0.5452 GB, free: 39.63 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5191, allocations: 3.625 kB / 0.5452 GB, free: 39.63 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001845/0.521, allocations: 324 kB / 0.5455 GB, free: 39.6 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.0001707/0.5211, allocations: 121.2 kB / 0.5456 GB, free: 39.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00307/0.5242, allocations: 1.551 MB / 0.5472 GB, free: 38.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.5242, allocations: 4.656 kB / 0.5472 GB, free: 38.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001443/0.5257, allocations: 0.8358 MB / 0.548 GB, free: 38.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.5267, allocations: 173 kB / 0.5481 GB, free: 38.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005299/0.532, allocations: 2.761 MB / 0.5508 GB, free: 36.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/0.5332, allocations: 1.318 MB / 0.5521 GB, free: 36.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008736/0.5341, allocations: 367.8 kB / 0.5525 GB, free: 36.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.5343, allocations: 71.2 kB / 0.5525 GB, free: 36.12 MB / 414.1 MB Notification: Performance of SimCode: time 8.11e-07/0.5343, allocations: 0 / 0.5525 GB, free: 36.12 MB / 414.1 MB Notification: Performance of Templates: time 0.01974/0.5541, allocations: 12.28 MB / 0.5645 GB, free: 29.58 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.makefile (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 & ./PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe 2>&1)