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.001556/0.001556, allocations: 182.6 kB / 15.77 MB, free: 5.988 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.023/2.023, allocations: 205.4 MB / 221.9 MB, free: 13.8 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.001138/0.001138, allocations: 86.88 kB / 270.2 MB, free: 13.33 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2674/0.2674, allocations: 38.04 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004796/0.0004799, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1147, allocations: 56.34 MB / 479 MB, free: 2.043 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.01342/0.1281, allocations: 8.155 MB / 487.2 MB, free: 9.855 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008836/0.137, allocations: 3.3 MB / 490.5 MB, free: 6.543 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00123/0.1383, allocations: 51.62 kB / 490.5 MB, free: 6.492 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.1395, allocations: 246.5 kB / 490.8 MB, free: 6.25 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003258/0.1428, allocations: 0.6737 MB / 491.5 MB, free: 5.574 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002548/0.1454, allocations: 0.573 MB / 492 MB, free: 5 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002119/0.1475, allocations: 0.8712 MB / 492.9 MB, free: 4.125 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002683/0.1503, allocations: 1.023 MB / 493.9 MB, free: 3.059 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001451/0.1517, allocations: 0.5332 MB / 494.5 MB, free: 2.523 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001551/0.1533, allocations: 0.7168 MB / 495.2 MB, free: 1.805 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002151/0.1536, allocations: 56 kB / 495.2 MB, free: 1.75 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.1548, allocations: 383.4 kB / 495.6 MB, free: 1.375 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001021/0.1558, allocations: 0.6665 MB / 496.3 MB, free: 0.707 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004684/0.1563, allocations: 285 kB / 496.6 MB, free: 432 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002539/0.1588, allocations: 1.492 MB / 498 MB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.1589, allocations: 4 kB / 498 MB, free: 14.92 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.059e-06/0.1589, allocations: 4 kB / 498.1 MB, free: 14.92 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.838e-05/0.1589, allocations: 3.938 kB / 498.1 MB, free: 14.91 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.004208/0.1632, allocations: 1.407 MB / 499.5 MB, free: 13.45 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.1632, allocations: 8.031 kB / 499.5 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002642/0.1659, allocations: 305.8 kB / 499.8 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002514/0.1684, allocations: 0.8434 MB / 0.4889 GB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.1686, allocations: 94.36 kB / 0.489 GB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005505/0.1691, allocations: 147.9 kB / 0.4891 GB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004793/0.1739, allocations: 2.06 MB / 0.4911 GB, free: 9.797 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.452e-05/0.174, allocations: 11.89 kB / 0.4911 GB, free: 9.785 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001983/0.1742, allocations: 51.97 kB / 0.4912 GB, free: 9.734 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007758/0.175, allocations: 186.5 kB / 0.4914 GB, free: 9.551 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004571/0.1796, allocations: 1.649 MB / 0.493 GB, free: 7.895 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.01761/0.1973, allocations: 9.403 MB / 0.5022 GB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001955/0.1993, allocations: 0.8873 MB / 0.503 GB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.111e-05/0.1994, allocations: 12.7 kB / 0.503 GB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.1994, allocations: 47.11 kB / 0.5031 GB, free: 12.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=81): time 4.538e-06/0.1995, allocations: 4 kB / 0.5031 GB, free: 12.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=85): time 0.007908/0.2074, allocations: 3.002 MB / 0.506 GB, free: 9.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.488e-05/0.2075, allocations: 94.05 kB / 0.5061 GB, free: 9.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/0.2089, allocations: 0.7465 MB / 0.5068 GB, free: 8.977 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.209, allocations: 41.7 kB / 0.5069 GB, free: 8.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006499/0.2097, allocations: 0.7293 MB / 0.5076 GB, free: 8.191 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003673/0.2101, allocations: 307.7 kB / 0.5079 GB, free: 7.887 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.463e-05/0.2102, allocations: 28 kB / 0.5079 GB, free: 7.859 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.2104, allocations: 366.7 kB / 0.5083 GB, free: 7.492 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/0.2115, allocations: 447.7 kB / 0.5087 GB, free: 7.055 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001675/0.2132, allocations: 0.9984 MB / 0.5097 GB, free: 5.797 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001609/0.2149, allocations: 0.6353 MB / 0.5103 GB, free: 5.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.301e-05/0.2149, allocations: 8 kB / 0.5103 GB, free: 5.152 MB / 362.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.005755/0.2207, allocations: 1.9 MB / 0.5121 GB, free: 3.238 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.436e-05/0.2207, allocations: 16 kB / 0.5122 GB, free: 3.223 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003814/0.2246, allocations: 1.187 MB / 0.5133 GB, free: 2.031 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002352/0.227, allocations: 452.2 kB / 0.5137 GB, free: 1.586 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/0.2287, allocations: 259.5 kB / 0.514 GB, free: 1.332 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.336/0.5647, allocations: 5.591 MB / 0.5195 GB, free: 48.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.5664, allocations: 55.33 kB / 0.5195 GB, free: 48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001996/0.5666, allocations: 71.69 kB / 0.5196 GB, free: 47.99 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.001363/0.568, allocations: 472 kB / 0.52 GB, free: 47.76 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003123/0.5683, allocations: 91 kB / 0.5201 GB, free: 47.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004947/0.5733, allocations: 1.37 MB / 0.5214 GB, free: 47.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.529e-05/0.5734, allocations: 8.594 kB / 0.5215 GB, free: 47.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.5734, allocations: 1.469 kB / 0.5215 GB, free: 47.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.43e-05/0.5734, allocations: 9.281 kB / 0.5215 GB, free: 47.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007224/0.5807, allocations: 2.479 MB / 0.5239 GB, free: 45.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/0.5807, allocations: 5.062 kB / 0.5239 GB, free: 45.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.5818, allocations: 132.9 kB / 0.524 GB, free: 45.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009345/0.5828, allocations: 182.7 kB / 0.5242 GB, free: 45.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-05/0.5829, allocations: 24.53 kB / 0.5242 GB, free: 45.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004832/0.5878, allocations: 4.647 MB / 0.5288 GB, free: 41.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.5878, allocations: 1.578 kB / 0.5288 GB, free: 41.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00434/0.5922, allocations: 1.89 MB / 0.5306 GB, free: 40.56 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005753/0.5928, allocations: 231.3 kB / 0.5308 GB, free: 40.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.593, allocations: 23.06 kB / 0.5308 GB, free: 40.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000678/0.5937, allocations: 25.8 kB / 0.5309 GB, free: 40.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/0.5939, allocations: 60.84 kB / 0.5309 GB, free: 40.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.556e-05/0.594, allocations: 28.88 kB / 0.531 GB, free: 40.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009204/0.5949, allocations: 495.8 kB / 0.5314 GB, free: 40.17 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.5949, allocations: 0 / 0.5314 GB, free: 40.17 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001773/0.5967, allocations: 330.3 kB / 0.5317 GB, free: 40.13 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.0002121/0.5969, allocations: 122 kB / 0.5319 GB, free: 40.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004157/0.6011, allocations: 1.53 MB / 0.5334 GB, free: 39.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.6012, allocations: 0 / 0.5334 GB, free: 39.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002209/0.6034, allocations: 0.8281 MB / 0.5342 GB, free: 38.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.6046, allocations: 153.5 kB / 0.5343 GB, free: 38.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00728/0.6119, allocations: 3.459 MB / 0.5377 GB, free: 36.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/0.6132, allocations: 1.348 MB / 0.539 GB, free: 36.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003912/0.6137, allocations: 85.3 kB / 0.5391 GB, free: 36.09 MB / 362.7 MB Notification: Performance of SimCode: time 1.262e-06/0.6137, allocations: 4 kB / 0.5391 GB, free: 36.08 MB / 362.7 MB Notification: Performance of Templates: time 0.03831/0.652, allocations: 23.57 MB / 0.5621 GB, free: 15.59 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)