Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001555/0.001555, allocations: 186.5 kB / 8.351 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.403/1.403, allocations: 194.3 MB / 203.1 MB, free: 9.324 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001704/0.001704, allocations: 112.3 kB / 248.1 MB, free: 6.352 MB / 203.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.178/0.178, allocations: 37.92 MB / 330.9 MB, free: 7.316 MB / 283.1 MB Notification: Performance of FrontEnd - loaded program: time 1.714e-05/1.716e-05, allocations: 4 kB / 390.4 MB, free: 78.25 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09093/0.09096, allocations: 53.25 MB / 443.6 MB, free: 25.1 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3281/0.4191, allocations: 104.1 MB / 0.5349 GB, free: 4.352 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/0.4194, allocations: 88.45 kB / 0.535 GB, free: 4.309 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1369/0.5563, allocations: 48.51 MB / 0.5823 GB, free: 11.02 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.5563, allocations: 0 / 0.5823 GB, free: 11.02 MB / 395.1 MB Notification: Performance of Transformations before backend: time 8.489e-05/0.5564, allocations: 36 kB / 0.5824 GB, free: 10.98 MB / 395.1 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.003435/0.5599, allocations: 1.59 MB / 0.5839 GB, free: 9.348 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.5599, allocations: 11.97 kB / 0.5839 GB, free: 9.336 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002828/0.5628, allocations: 449.3 kB / 0.5844 GB, free: 8.895 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005407/0.5682, allocations: 2.061 MB / 0.5864 GB, free: 6.785 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.472e-05/0.5683, allocations: 48 kB / 0.5864 GB, free: 6.738 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002169/0.5685, allocations: 83.91 kB / 0.5865 GB, free: 6.656 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002547/0.5711, allocations: 1.533 MB / 0.588 GB, free: 5.121 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003049/0.5741, allocations: 2.026 MB / 0.59 GB, free: 2.941 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.73e-05/0.5742, allocations: 11.94 kB / 0.59 GB, free: 2.93 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.5743, allocations: 7.953 kB / 0.59 GB, free: 2.922 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003261/0.5746, allocations: 190.8 kB / 0.5902 GB, free: 2.734 MB / 395.1 MB Warning: The model contains alias variables with conflicting start and/or 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.01015/0.5848, allocations: 8.966 MB / 0.5989 GB, free: 9.32 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001926/0.5867, allocations: 1.39 MB / 0.6003 GB, free: 7.895 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008476/0.5876, allocations: 0.6277 MB / 0.6009 GB, free: 7.262 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.136e-05/0.5877, allocations: 17.3 kB / 0.6009 GB, free: 7.242 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001119/0.5888, allocations: 0.8878 MB / 0.6018 GB, free: 6.312 MB / 411.1 MB Notification: Performance of pre-optimization done (n=142): time 3.376e-06/0.5888, allocations: 0 / 0.6018 GB, free: 6.312 MB / 411.1 MB Notification: Performance of matching and sorting (n=143): time 0.005237/0.5941, allocations: 3.433 MB / 0.6051 GB, free: 2.812 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.5942, allocations: 286.3 kB / 0.6054 GB, free: 2.473 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008356/0.5951, allocations: 0.7007 MB / 0.6061 GB, free: 1.75 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 6.668e-05/0.5951, allocations: 29.7 kB / 0.6061 GB, free: 1.715 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005685/0.5957, allocations: 0.7477 MB / 0.6069 GB, free: 0.9531 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003357/0.5961, allocations: 465.2 kB / 0.6073 GB, free: 0.4922 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.465e-05/0.5961, allocations: 4 kB / 0.6073 GB, free: 500 kB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.5963, allocations: 434.7 kB / 0.6077 GB, free: 56 kB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007904/0.5971, allocations: 0.574 MB / 0.6083 GB, free: 15.48 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/0.5982, allocations: 1.112 MB / 0.6094 GB, free: 14.12 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.5993, allocations: 0.8024 MB / 0.6102 GB, free: 13.33 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.5994, allocations: 4 kB / 0.6102 GB, free: 13.32 MB / 427.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.004055/0.6034, allocations: 2.295 MB / 0.6124 GB, free: 11.01 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.485e-05/0.6035, allocations: 63.41 kB / 0.6125 GB, free: 10.93 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0027/0.6062, allocations: 1.601 MB / 0.614 GB, free: 9.316 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001461/0.6077, allocations: 0.5263 MB / 0.6145 GB, free: 8.781 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.6087, allocations: 323.4 kB / 0.6148 GB, free: 8.465 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008635/0.6174, allocations: 8.294 MB / 0.6229 GB, free: 15.71 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/0.6185, allocations: 55.94 kB / 0.623 GB, free: 15.66 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/0.6187, allocations: 96.03 kB / 0.6231 GB, free: 15.57 MB / 443.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 161 * Array equations: 3 * 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,(3,77.8%) 10,(2,100.0%) 12,(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000358/0.6191, allocations: 236.3 kB / 0.6233 GB, free: 15.32 MB / 443.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.6193, allocations: 126.5 kB / 0.6234 GB, free: 15.19 MB / 443.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00255/0.6218, allocations: 1.528 MB / 0.6249 GB, free: 13.65 MB / 443.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.31e-05/0.6219, allocations: 24 kB / 0.625 GB, free: 13.62 MB / 443.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.6219, allocations: 0 / 0.625 GB, free: 13.62 MB / 443.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.6219, allocations: 7.969 kB / 0.625 GB, free: 13.62 MB / 443.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004814/0.6267, allocations: 2.856 MB / 0.6277 GB, free: 10.7 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.6267, allocations: 0 / 0.6277 GB, free: 10.7 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/0.6281, allocations: 319.8 kB / 0.6281 GB, free: 10.39 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/0.6281, allocations: 4 kB / 0.6281 GB, free: 10.38 MB / 443.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.449e-05/0.6282, allocations: 19.98 kB / 0.6281 GB, free: 10.36 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.198e-05/0.6282, allocations: 15.92 kB / 0.6281 GB, free: 10.35 MB / 443.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.6282, allocations: 0 / 0.6281 GB, free: 10.35 MB / 443.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003124/0.6314, allocations: 2.463 MB / 0.6305 GB, free: 7.805 MB / 443.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005471/0.6319, allocations: 307.6 kB / 0.6308 GB, free: 7.484 MB / 443.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/0.6321, allocations: 23.97 kB / 0.6308 GB, free: 7.461 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005823/0.6327, allocations: 47.94 kB / 0.6309 GB, free: 7.414 MB / 443.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/0.6328, allocations: 81.16 kB / 0.6309 GB, free: 7.332 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/0.633, allocations: 75.92 kB / 0.631 GB, free: 7.258 MB / 443.1 MB Notification: Performance of sorting global known variables: time 0.0006543/0.6336, allocations: 0.5115 MB / 0.6315 GB, free: 6.734 MB / 443.1 MB Notification: Performance of sort global known variables: time 1.653e-06/0.6336, allocations: 0 / 0.6315 GB, free: 6.734 MB / 443.1 MB Notification: Performance of remove unused functions: time 0.001499/0.6352, allocations: 411.9 kB / 0.6319 GB, free: 6.332 MB / 443.1 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 118 * Array equations: 3 * 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.0004119/0.6356, allocations: 203.8 kB / 0.6321 GB, free: 6.125 MB / 443.1 MB Notification: Performance of simCode: created initialization part: time 0.003098/0.6387, allocations: 2.26 MB / 0.6343 GB, free: 3.805 MB / 443.1 MB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/0.6387, allocations: 8.312 kB / 0.6343 GB, free: 3.797 MB / 443.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.6397, allocations: 0.9057 MB / 0.6352 GB, free: 2.867 MB / 443.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008717/0.6406, allocations: 170.5 kB / 0.6354 GB, free: 2.703 MB / 443.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005307/0.6459, allocations: 2.801 MB / 0.6381 GB, free: 15.84 MB / 459.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001293/0.6473, allocations: 1.506 MB / 0.6396 GB, free: 14.3 MB / 459.1 MB Notification: Performance of simCode: alias equations: time 0.001243/0.6485, allocations: 458.1 kB / 0.64 GB, free: 13.85 MB / 459.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000254/0.6488, allocations: 95.42 kB / 0.6401 GB, free: 13.76 MB / 459.1 MB Notification: Performance of SimCode: time 7.92e-07/0.6488, allocations: 0 / 0.6401 GB, free: 13.76 MB / 459.1 MB Notification: Performance of Templates: time 0.02444/0.6732, allocations: 14.31 MB / 0.6541 GB, free: 15.47 MB / 475.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1)