Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.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.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001713/0.001718, allocations: 184.2 kB / 15.77 MB, free: 6.375 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.112/2.112, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001104/0.001104, allocations: 102.8 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2651/0.2651, allocations: 38.05 MB / 356.6 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004726/0.0004726, allocations: 12 kB / 422.7 MB, free: 26.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1148, allocations: 56.32 MB / 479 MB, free: 2.062 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01463/0.1295, allocations: 9.101 MB / 488.1 MB, free: 8.926 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.009756/0.1393, allocations: 3.731 MB / 491.9 MB, free: 5.184 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001445/0.1408, allocations: 63.56 kB / 491.9 MB, free: 5.121 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001505/0.1424, allocations: 326.1 kB / 492.2 MB, free: 4.801 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003696/0.1461, allocations: 0.7867 MB / 493 MB, free: 4.012 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002789/0.1489, allocations: 0.6315 MB / 493.7 MB, free: 3.379 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002467/0.1514, allocations: 1.051 MB / 494.7 MB, free: 2.324 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002751/0.1542, allocations: 1.108 MB / 495.8 MB, free: 1.168 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00195/0.1562, allocations: 0.6577 MB / 496.5 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001986/0.1582, allocations: 0.8452 MB / 497.3 MB, free: 15.66 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003087/0.1585, allocations: 64 kB / 497.4 MB, free: 15.6 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.16, allocations: 407.4 kB / 497.8 MB, free: 15.2 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001165/0.1611, allocations: 0.7873 MB / 498.6 MB, free: 14.41 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005936/0.1618, allocations: 332.8 kB / 498.9 MB, free: 14.08 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003135/0.1649, allocations: 1.738 MB / 0.4889 GB, free: 12.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.165, allocations: 0 / 0.4889 GB, free: 12.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.165, allocations: 0 / 0.4889 GB, free: 12.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.037e-05/0.165, allocations: 4 kB / 0.4889 GB, free: 12.33 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: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.005133/0.1702, allocations: 1.699 MB / 0.4906 GB, free: 10.56 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.1703, allocations: 12.03 kB / 0.4906 GB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003097/0.1734, allocations: 377.3 kB / 0.4909 GB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003134/0.1765, allocations: 0.9962 MB / 0.4919 GB, free: 9.141 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/0.1767, allocations: 106.7 kB / 0.492 GB, free: 9.035 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005592/0.1773, allocations: 160 kB / 0.4922 GB, free: 8.879 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005805/0.1831, allocations: 2.312 MB / 0.4944 GB, free: 6.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-05/0.1832, allocations: 11.84 kB / 0.4944 GB, free: 6.398 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000229/0.1835, allocations: 67.92 kB / 0.4945 GB, free: 6.332 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009365/0.1844, allocations: 222.8 kB / 0.4947 GB, free: 6.113 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005148/0.1896, allocations: 1.822 MB / 0.4965 GB, free: 4.285 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.01858/0.2082, allocations: 9.552 MB / 0.5058 GB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003803/0.212, allocations: 1.517 MB / 0.5073 GB, free: 8.652 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001301/0.2122, allocations: 24.98 kB / 0.5073 GB, free: 8.629 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001818/0.214, allocations: 0.8371 MB / 0.5081 GB, free: 7.746 MB / 362.7 MB Notification: Performance of pre-optimization done (n=130): time 4.549e-06/0.2141, allocations: 4 kB / 0.5081 GB, free: 7.742 MB / 362.7 MB Notification: Performance of matching and sorting (n=131): time 0.009789/0.2239, allocations: 4.106 MB / 0.5122 GB, free: 3.504 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001878/0.2241, allocations: 286.3 kB / 0.5124 GB, free: 3.164 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/0.2258, allocations: 0.9067 MB / 0.5133 GB, free: 2.234 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001983/0.226, allocations: 57.64 kB / 0.5134 GB, free: 2.172 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007766/0.2268, allocations: 0.7808 MB / 0.5141 GB, free: 1.379 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005828/0.2274, allocations: 449.7 kB / 0.5146 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.2275, allocations: 44.09 kB / 0.5146 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002285/0.2278, allocations: 382.8 kB / 0.515 GB, free: 0.5078 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3031/0.5308, allocations: 0.5578 MB / 0.5155 GB, free: 51.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002342/0.5332, allocations: 1.151 MB / 0.5166 GB, free: 50.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002291/0.5356, allocations: 0.834 MB / 0.5174 GB, free: 50.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.232e-05/0.5357, allocations: 6.812 kB / 0.5175 GB, free: 50.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.007179/0.5429, allocations: 2.407 MB / 0.5198 GB, free: 49.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.455e-05/0.543, allocations: 68.55 kB / 0.5199 GB, free: 49.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004898/0.5479, allocations: 1.539 MB / 0.5214 GB, free: 49.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002779/0.5507, allocations: 0.5517 MB / 0.5219 GB, free: 49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002195/0.553, allocations: 323.1 kB / 0.5222 GB, free: 48.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01551/0.5685, allocations: 8.925 MB / 0.5309 GB, free: 42.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/0.5703, allocations: 82.77 kB / 0.531 GB, free: 42.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000284/0.5706, allocations: 96.56 kB / 0.5311 GB, free: 42.38 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: 21 (system.initime,$whenCondition3,$whenCondition4,$PRE.tapRelay1.cnt_1,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_2,$whenCondition1,$whenCondition2,$PRE.tapRelay2.cnt_1,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_2,$PRE.tapRelay2.tap_1,tapRelay2.tap_1,$PRE.tapRelay2.tap_2,tapRelay2.tap_2,$PRE.tapRelay1.tap_1,tapRelay1.tap_1,$PRE.tapRelay1.tap_2,tapRelay1.tap_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(2,100.0%) 11,(2,100.0%) 12,(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00141/0.572, allocations: 0.5901 MB / 0.5317 GB, free: 42.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003118/0.5723, allocations: 129.8 kB / 0.5318 GB, free: 42.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00372/0.5761, allocations: 1.527 MB / 0.5333 GB, free: 41.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.075e-05/0.5762, allocations: 14.89 kB / 0.5333 GB, free: 41.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.5762, allocations: 0 / 0.5333 GB, free: 41.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.859e-05/0.5762, allocations: 8.922 kB / 0.5333 GB, free: 41.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007573/0.5838, allocations: 3.048 MB / 0.5363 GB, free: 40.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.5839, allocations: 1.078 kB / 0.5363 GB, free: 40.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002559/0.5864, allocations: 302.2 kB / 0.5366 GB, free: 40.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.838e-05/0.5865, allocations: 3.969 kB / 0.5366 GB, free: 40.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001611/0.5866, allocations: 39.61 kB / 0.5366 GB, free: 40.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.095e-05/0.5867, allocations: 3.969 kB / 0.5366 GB, free: 40.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.5867, allocations: 3.781 kB / 0.5366 GB, free: 40.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004536/0.5912, allocations: 2.366 MB / 0.5389 GB, free: 38.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000805/0.5921, allocations: 295.2 kB / 0.5392 GB, free: 38.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002266/0.5923, allocations: 33.03 kB / 0.5393 GB, free: 38.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.5934, allocations: 53.7 kB / 0.5393 GB, free: 38.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002377/0.5936, allocations: 82.28 kB / 0.5394 GB, free: 38.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000161/0.5938, allocations: 76.95 kB / 0.5395 GB, free: 38.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009802/0.5948, allocations: 0.5996 MB / 0.54 GB, free: 38.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5948, allocations: 0 / 0.54 GB, free: 38.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002135/0.5969, allocations: 422.7 kB / 0.5405 GB, free: 38.28 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (trafo1.i1[1],trafo1.i1[2],trafo1.i1[3],trafo2.i1[1],trafo2.i1[2],trafo2.i1[3]) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tapRelay2.tap_1,tapRelay2.tap_2,tapRelay2.cnt_1,tapRelay2.cnt_2,tapRelay1.tap_1,tapRelay1.tap_2,tapRelay1.cnt_1,tapRelay1.cnt_2,system.initime) * Number of discrete states: 12 (tapRelay1.tap_2,tapRelay1.cnt_2,$whenCondition4,tapRelay1.tap_1,tapRelay1.cnt_1,$whenCondition3,tapRelay2.tap_2,tapRelay2.cnt_2,$whenCondition2,tapRelay2.tap_1,tapRelay2.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002739/0.5972, allocations: 151 kB / 0.5406 GB, free: 38.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00507/0.6023, allocations: 2.29 MB / 0.5428 GB, free: 36.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.6024, allocations: 0 / 0.5428 GB, free: 36.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001779/0.6042, allocations: 0.8688 MB / 0.5437 GB, free: 35.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/0.6058, allocations: 189.2 kB / 0.5439 GB, free: 35.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008306/0.6141, allocations: 4.165 MB / 0.5479 GB, free: 31.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/0.6155, allocations: 1.49 MB / 0.5494 GB, free: 29.56 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006178/0.6162, allocations: 103.4 kB / 0.5495 GB, free: 29.46 MB / 362.7 MB Notification: Performance of SimCode: time 1.153e-06/0.6162, allocations: 0 / 0.5495 GB, free: 29.46 MB / 362.7 MB Notification: Performance of Templates: time 0.04658/0.6628, allocations: 26.86 MB / 0.5757 GB, free: 2.551 MB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1)