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: translateModel(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding") translateModel(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001283/0.001283, allocations: 172.8 kB / 15.77 MB, free: 6.324 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.753/1.753, allocations: 205.4 MB / 221.9 MB, free: 13.76 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.0008276/0.0008275, allocations: 98.23 kB / 270.3 MB, free: 13.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1662/0.1662, allocations: 38.07 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004067/0.0004067, allocations: 8 kB / 422.7 MB, free: 26.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1101, allocations: 56.33 MB / 479.1 MB, free: 2.051 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.008771/0.1189, allocations: 8.574 MB / 487.6 MB, free: 9.441 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005496/0.1245, allocations: 3.284 MB / 490.9 MB, free: 6.145 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008242/0.1253, allocations: 59.56 kB / 491 MB, free: 6.086 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007632/0.1261, allocations: 254.2 kB / 491.2 MB, free: 5.836 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002227/0.1283, allocations: 0.9181 MB / 492.1 MB, free: 4.914 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001642/0.13, allocations: 0.5848 MB / 492.7 MB, free: 4.328 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002777/0.1328, allocations: 2.507 MB / 495.2 MB, free: 1.812 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001864/0.1347, allocations: 1.008 MB / 496.2 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/0.1361, allocations: 0.6885 MB / 496.9 MB, free: 72 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001827/0.138, allocations: 1.13 MB / 498.1 MB, free: 14.94 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000322/0.1383, allocations: 59.94 kB / 498.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.1394, allocations: 399.3 kB / 498.5 MB, free: 14.49 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009552/0.1404, allocations: 0.7482 MB / 499.3 MB, free: 13.74 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005476/0.1409, allocations: 281 kB / 499.5 MB, free: 13.46 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001839/0.1428, allocations: 1.492 MB / 0.4893 GB, free: 11.96 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.1428, allocations: 12 kB / 0.4893 GB, free: 11.95 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1428, allocations: 0 / 0.4893 GB, free: 11.95 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.904e-05/0.1429, allocations: 0 / 0.4893 GB, free: 11.95 MB / 346.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.003291/0.1462, allocations: 1.418 MB / 0.4907 GB, free: 10.47 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1463, allocations: 8.031 kB / 0.4907 GB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001783/0.148, allocations: 277.9 kB / 0.4909 GB, free: 10.19 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001746/0.1498, allocations: 0.8434 MB / 0.4918 GB, free: 9.305 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.1499, allocations: 94.41 kB / 0.4919 GB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005065/0.1504, allocations: 151.8 kB / 0.492 GB, free: 9.062 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003571/0.154, allocations: 2.076 MB / 0.494 GB, free: 6.828 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.095e-05/0.1541, allocations: 11.89 kB / 0.494 GB, free: 6.816 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001854/0.1543, allocations: 51.98 kB / 0.4941 GB, free: 6.766 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004407/0.1547, allocations: 182.5 kB / 0.4943 GB, free: 6.586 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002867/0.1576, allocations: 1.665 MB / 0.4959 GB, free: 4.914 MB / 346.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.01167/0.1693, allocations: 9.415 MB / 0.5051 GB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.1705, allocations: 0.8874 MB / 0.506 GB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006177/0.1712, allocations: 435.5 kB / 0.5064 GB, free: 9.609 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.601e-05/0.1712, allocations: 24.58 kB / 0.5064 GB, free: 9.586 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/0.1713, allocations: 51.16 kB / 0.5064 GB, free: 9.523 MB / 362.7 MB Notification: Performance of pre-optimization done (n=81): time 5.481e-06/0.1713, allocations: 0 / 0.5064 GB, free: 9.523 MB / 362.7 MB Notification: Performance of matching and sorting (n=85): time 0.005444/0.1768, allocations: 3.03 MB / 0.5094 GB, free: 6.375 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.994e-05/0.1769, allocations: 90.14 kB / 0.5095 GB, free: 6.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.1779, allocations: 0.7504 MB / 0.5102 GB, free: 5.512 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.069e-05/0.178, allocations: 37.7 kB / 0.5103 GB, free: 5.469 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005363/0.1785, allocations: 0.6996 MB / 0.5109 GB, free: 4.758 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002725/0.1788, allocations: 307.7 kB / 0.5112 GB, free: 4.453 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/0.1789, allocations: 28 kB / 0.5113 GB, free: 4.426 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002005/0.1791, allocations: 406.7 kB / 0.5116 GB, free: 4.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006999/0.1798, allocations: 451.7 kB / 0.5121 GB, free: 3.578 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.1809, allocations: 1.01 MB / 0.5131 GB, free: 2.309 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009668/0.1819, allocations: 0.6469 MB / 0.5137 GB, free: 1.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/0.1819, allocations: 4 kB / 0.5137 GB, free: 1.656 MB / 362.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.205/0.3869, allocations: 1.937 MB / 0.5156 GB, free: 50.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.935e-05/0.387, allocations: 14.14 kB / 0.5156 GB, free: 50.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002816/0.3898, allocations: 1.198 MB / 0.5168 GB, free: 50.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001467/0.3913, allocations: 451.7 kB / 0.5172 GB, free: 50.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009357/0.3923, allocations: 259.1 kB / 0.5175 GB, free: 50.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006604/0.3989, allocations: 5.416 MB / 0.5227 GB, free: 47.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008369/0.3998, allocations: 57.58 kB / 0.5228 GB, free: 47.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/0.3999, allocations: 65 kB / 0.5229 GB, free: 47.07 MB / 362.7 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 (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.0007576/0.4007, allocations: 472.6 kB / 0.5233 GB, free: 46.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.4009, allocations: 89.81 kB / 0.5234 GB, free: 46.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002239/0.4031, allocations: 1.387 MB / 0.5247 GB, free: 46.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.4032, allocations: 8.719 kB / 0.5248 GB, free: 46.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.604e-05/0.4032, allocations: 3.375 kB / 0.5248 GB, free: 46.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/0.4032, allocations: 6.562 kB / 0.5248 GB, free: 46.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004612/0.4078, allocations: 2.488 MB / 0.5272 GB, free: 44.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.4079, allocations: 6.266 kB / 0.5272 GB, free: 44.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005513/0.4084, allocations: 134.6 kB / 0.5273 GB, free: 44.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005719/0.409, allocations: 182.4 kB / 0.5275 GB, free: 44.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.289e-05/0.4091, allocations: 25.11 kB / 0.5275 GB, free: 44.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003581/0.4127, allocations: 4.593 MB / 0.532 GB, free: 40.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.4127, allocations: 1.938 kB / 0.532 GB, free: 40.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002631/0.4153, allocations: 1.852 MB / 0.5338 GB, free: 39.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004779/0.4158, allocations: 227.7 kB / 0.534 GB, free: 39.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002049/0.4161, allocations: 20.38 kB / 0.5341 GB, free: 39.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004408/0.4165, allocations: 30.69 kB / 0.5341 GB, free: 39.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.4166, allocations: 57.88 kB / 0.5341 GB, free: 39.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-05/0.4167, allocations: 25.09 kB / 0.5342 GB, free: 39.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007691/0.4175, allocations: 498.9 kB / 0.5346 GB, free: 39.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4175, allocations: 0 / 0.5346 GB, free: 39.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001633/0.4191, allocations: 326.3 kB / 0.535 GB, free: 39.22 MB / 362.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 (76): * Single equations (assignments): 72 * Array equations: 0 * 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.000173/0.4193, allocations: 127.5 kB / 0.5351 GB, free: 39.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002885/0.4222, allocations: 1.537 MB / 0.5366 GB, free: 38.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.4222, allocations: 0 / 0.5366 GB, free: 38.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001324/0.4236, allocations: 0.8347 MB / 0.5374 GB, free: 37.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008887/0.4245, allocations: 173.8 kB / 0.5376 GB, free: 37.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004542/0.429, allocations: 3.467 MB / 0.5409 GB, free: 35.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008514/0.4299, allocations: 1.313 MB / 0.5422 GB, free: 34.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00026/0.4302, allocations: 84.48 kB / 0.5423 GB, free: 34.93 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.4302, allocations: 0 / 0.5423 GB, free: 34.93 MB / 362.7 MB Notification: Performance of Templates: time 0.02587/0.4561, allocations: 24.6 MB / 0.5663 GB, free: 11.65 MB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.makefile (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 & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe 2>&1)