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.001379/0.001379, allocations: 167.2 kB / 16.07 MB, free: 5.598 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.214/1.214, allocations: 205.4 MB / 222.2 MB, free: 9.012 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.000689/0.0006892, allocations: 88.8 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1663/0.1663, allocations: 38.07 MB / 356.9 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.000347, allocations: 16 kB / 423.3 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2423, allocations: 56.32 MB / 479.6 MB, free: 9.227 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.007554/0.2499, allocations: 8.63 MB / 488.3 MB, free: 3.309 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005496/0.2554, allocations: 3.277 MB / 491.5 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.2567, allocations: 57.41 kB / 491.6 MB, free: 0.957 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009055/0.2576, allocations: 286.5 kB / 491.9 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00284/0.2604, allocations: 0.9258 MB / 492.8 MB, free: 368 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001982/0.2625, allocations: 0.6196 MB / 493.4 MB, free: 104 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003504/0.266, allocations: 2.516 MB / 495.9 MB, free: 15.27 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002012/0.268, allocations: 1.07 MB / 497 MB, free: 14.67 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001582/0.2696, allocations: 0.6758 MB / 497.7 MB, free: 14.43 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001888/0.2715, allocations: 1.131 MB / 498.8 MB, free: 14.1 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001759/0.2717, allocations: 57.66 kB / 498.9 MB, free: 14.1 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.2729, allocations: 0.5063 MB / 499.4 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008209/0.2737, allocations: 0.7466 MB / 0.4884 GB, free: 13.46 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008443/0.2746, allocations: 0.6749 MB / 0.4891 GB, free: 13.02 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001784/0.2764, allocations: 1.499 MB / 0.4905 GB, free: 12.06 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2764, allocations: 0 / 0.4905 GB, free: 12.06 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2764, allocations: 4 kB / 0.4905 GB, free: 12.05 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.547e-05/0.2765, allocations: 1.062 kB / 0.4905 GB, free: 12.05 MB / 330.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.002886/0.2793, allocations: 1.403 MB / 0.4919 GB, free: 10.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.2794, allocations: 10.19 kB / 0.4919 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/0.281, allocations: 277.3 kB / 0.4922 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/0.2826, allocations: 0.8584 MB / 0.493 GB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.431e-05/0.2827, allocations: 96.14 kB / 0.4931 GB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003115/0.283, allocations: 160.9 kB / 0.4933 GB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00311/0.2861, allocations: 2.072 MB / 0.4953 GB, free: 8.727 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.47e-05/0.2862, allocations: 12.45 kB / 0.4953 GB, free: 8.719 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/0.2863, allocations: 53.39 kB / 0.4953 GB, free: 8.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004171/0.2867, allocations: 173.9 kB / 0.4955 GB, free: 8.629 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002647/0.2894, allocations: 1.666 MB / 0.4971 GB, free: 7.832 MB / 330.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.01074/0.3002, allocations: 9.431 MB / 0.5063 GB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/0.3013, allocations: 0.8912 MB / 0.5072 GB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005804/0.3019, allocations: 431.5 kB / 0.5076 GB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.312e-05/0.302, allocations: 24.56 kB / 0.5077 GB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.302, allocations: 47.22 kB / 0.5077 GB, free: 13.24 MB / 346.7 MB Notification: Performance of pre-optimization done (n=81): time 3.517e-06/0.302, allocations: 0 / 0.5077 GB, free: 13.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=85): time 0.004901/0.3069, allocations: 3.026 MB / 0.5107 GB, free: 10.1 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.307, allocations: 90.05 kB / 0.5107 GB, free: 9.992 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008661/0.3079, allocations: 0.7504 MB / 0.5115 GB, free: 9.234 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.869e-05/0.308, allocations: 41.7 kB / 0.5115 GB, free: 9.188 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004342/0.3084, allocations: 0.7034 MB / 0.5122 GB, free: 8.473 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/0.3086, allocations: 311.7 kB / 0.5125 GB, free: 8.164 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.643e-05/0.3087, allocations: 24 kB / 0.5125 GB, free: 8.141 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.3089, allocations: 410.7 kB / 0.5129 GB, free: 7.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006566/0.3096, allocations: 447.7 kB / 0.5133 GB, free: 7.293 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009873/0.3106, allocations: 1.006 MB / 0.5143 GB, free: 6.027 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001805/0.3124, allocations: 1.602 MB / 0.5159 GB, free: 4.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/0.3124, allocations: 4 kB / 0.5159 GB, free: 4.156 MB / 346.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003384/0.3158, allocations: 1.95 MB / 0.5178 GB, free: 2.191 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.585e-05/0.3158, allocations: 14.03 kB / 0.5178 GB, free: 2.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002073/0.3179, allocations: 1.195 MB / 0.519 GB, free: 0.9805 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/0.3192, allocations: 452.2 kB / 0.5194 GB, free: 0.5352 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007839/0.32, allocations: 263.5 kB / 0.5197 GB, free: 284 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006592/0.3266, allocations: 5.415 MB / 0.5249 GB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008754/0.3275, allocations: 55.98 kB / 0.525 GB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.3276, allocations: 71.98 kB / 0.5251 GB, free: 10.47 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.0008229/0.3285, allocations: 473 kB / 0.5255 GB, free: 10 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.3286, allocations: 90.88 kB / 0.5256 GB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/0.3307, allocations: 1.382 MB / 0.5269 GB, free: 8.449 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.3308, allocations: 12 kB / 0.527 GB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.3308, allocations: 7.938 kB / 0.527 GB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.3308, allocations: 7.922 kB / 0.527 GB, free: 8.422 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00367/0.3345, allocations: 2.489 MB / 0.5294 GB, free: 5.801 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.3345, allocations: 0 / 0.5294 GB, free: 5.801 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005142/0.335, allocations: 131.8 kB / 0.5295 GB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005088/0.3355, allocations: 182.5 kB / 0.5297 GB, free: 5.484 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.298e-05/0.3356, allocations: 27.98 kB / 0.5297 GB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003546/0.3392, allocations: 4.602 MB / 0.5342 GB, free: 460 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.3392, allocations: 4.031 kB / 0.5342 GB, free: 456 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002422/0.3416, allocations: 1.844 MB / 0.536 GB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004383/0.3421, allocations: 231.9 kB / 0.5363 GB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.673e-05/0.3422, allocations: 20 kB / 0.5363 GB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003536/0.3425, allocations: 31.97 kB / 0.5363 GB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.3427, allocations: 68.45 kB / 0.5364 GB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-05/0.3427, allocations: 23.98 kB / 0.5364 GB, free: 14.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006029/0.3433, allocations: 495 kB / 0.5369 GB, free: 13.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3433, allocations: 0 / 0.5369 GB, free: 13.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001251/0.3446, allocations: 324 kB / 0.5372 GB, free: 13.33 MB / 378.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.0001761/0.3448, allocations: 123.1 kB / 0.5373 GB, free: 13.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002529/0.3473, allocations: 1.529 MB / 0.5388 GB, free: 11.65 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3474, allocations: 0 / 0.5388 GB, free: 11.65 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001282/0.3486, allocations: 0.8358 MB / 0.5396 GB, free: 10.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.3498, allocations: 159.7 kB / 0.5398 GB, free: 10.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005496/0.3553, allocations: 3.486 MB / 0.5432 GB, free: 7.074 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001172/0.3565, allocations: 1.309 MB / 0.5444 GB, free: 5.734 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002749/0.3568, allocations: 79.42 kB / 0.5445 GB, free: 5.656 MB / 378.7 MB Notification: Performance of SimCode: time 7.11e-07/0.3568, allocations: 0 / 0.5445 GB, free: 5.656 MB / 378.7 MB Notification: Performance of Templates: time 0.03016/0.3869, allocations: 24.57 MB / 0.5685 GB, free: 13.05 MB / 410.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)