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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.TapChanger,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.TapChanger,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001146/0.001146, allocations: 178.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.33/1.33, allocations: 194.5 MB / 211.6 MB, free: 3.047 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001548/0.001548, allocations: 111.3 kB / 256.9 MB, free: 4.387 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1806/0.1806, allocations: 38 MB / 340.1 MB, free: 1.359 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003347, allocations: 12 kB / 403.9 MB, free: 68.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07472/0.07507, allocations: 53.24 MB / 457.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3126/0.3877, allocations: 104.9 MB / 0.5488 GB, free: 6.809 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/0.388, allocations: 97.75 kB / 0.5489 GB, free: 6.754 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1327/0.5207, allocations: 48.95 MB / 0.5967 GB, free: 12.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5208, allocations: 0 / 0.5967 GB, free: 12.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001199/0.5209, allocations: 36 kB / 0.5968 GB, free: 12.38 MB / 410.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.004718/0.5256, allocations: 1.754 MB / 0.5985 GB, free: 10.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.5257, allocations: 12.02 kB / 0.5985 GB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006754/0.5264, allocations: 242.7 kB / 0.5987 GB, free: 10.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002971/0.5293, allocations: 441.3 kB / 0.5991 GB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006695/0.5361, allocations: 2.094 MB / 0.6012 GB, free: 8.086 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/0.5362, allocations: 106.7 kB / 0.6013 GB, free: 7.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006279/0.5369, allocations: 151.9 kB / 0.6014 GB, free: 7.832 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004781/0.5417, allocations: 2.246 MB / 0.6036 GB, free: 5.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.017e-05/0.5418, allocations: 7.938 kB / 0.6036 GB, free: 5.422 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002349/0.542, allocations: 59.94 kB / 0.6037 GB, free: 5.363 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003609/0.5424, allocations: 182.8 kB / 0.6039 GB, free: 5.184 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003191/0.5456, allocations: 1.752 MB / 0.6056 GB, free: 3.426 MB / 410.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.0113/0.5569, allocations: 9.299 MB / 0.6146 GB, free: 9.652 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002125/0.5591, allocations: 1.474 MB / 0.6161 GB, free: 8.141 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.006e-05/0.5591, allocations: 21.03 kB / 0.6161 GB, free: 8.121 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001245/0.5604, allocations: 0.927 MB / 0.617 GB, free: 7.152 MB / 426.7 MB Notification: Performance of pre-optimization done (n=142): time 3.176e-06/0.5604, allocations: 0 / 0.617 GB, free: 7.152 MB / 426.7 MB Notification: Performance of matching and sorting (n=143): time 0.006654/0.5671, allocations: 4.746 MB / 0.6216 GB, free: 2.215 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001562/0.5672, allocations: 286.6 kB / 0.6219 GB, free: 1.875 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009993/0.5683, allocations: 0.7714 MB / 0.6227 GB, free: 1.082 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.873e-05/0.5683, allocations: 49.7 kB / 0.6227 GB, free: 1.027 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006487/0.569, allocations: 0.7321 MB / 0.6234 GB, free: 288 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003908/0.5694, allocations: 489.1 kB / 0.6239 GB, free: 15.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.272e-05/0.5695, allocations: 36 kB / 0.6239 GB, free: 15.76 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002079/0.5697, allocations: 438.7 kB / 0.6244 GB, free: 15.32 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000904/0.5706, allocations: 0.6207 MB / 0.625 GB, free: 14.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/0.5719, allocations: 1.162 MB / 0.6261 GB, free: 13.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.5731, allocations: 0.8763 MB / 0.627 GB, free: 12.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/0.5731, allocations: 4 kB / 0.627 GB, free: 12.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.004311/0.5774, allocations: 2.545 MB / 0.6294 GB, free: 9.832 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.253e-05/0.5775, allocations: 67.36 kB / 0.6295 GB, free: 9.754 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002837/0.5804, allocations: 1.702 MB / 0.6312 GB, free: 8.039 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001571/0.582, allocations: 0.5497 MB / 0.6317 GB, free: 7.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.5831, allocations: 319.5 kB / 0.632 GB, free: 7.168 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009954/0.593, allocations: 8.924 MB / 0.6407 GB, free: 13.72 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.5945, allocations: 103.9 kB / 0.6408 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/0.5946, allocations: 91.95 kB / 0.6409 GB, free: 13.53 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (169): * Single equations (assignments): 160 * 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,(2,100.0%) 11,(2,100.0%) 12,(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001172/0.5958, allocations: 0.5842 MB / 0.6415 GB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002556/0.5961, allocations: 126.5 kB / 0.6416 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002936/0.599, allocations: 1.699 MB / 0.6433 GB, free: 11.08 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.123e-05/0.5991, allocations: 23.98 kB / 0.6433 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.5991, allocations: 0 / 0.6433 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.5991, allocations: 3.984 kB / 0.6433 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005704/0.6048, allocations: 3.224 MB / 0.6464 GB, free: 7.738 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.6049, allocations: 0 / 0.6464 GB, free: 7.738 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001456/0.6063, allocations: 315.6 kB / 0.6467 GB, free: 7.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.889e-05/0.6064, allocations: 11.94 kB / 0.6467 GB, free: 7.418 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.6065, allocations: 40.03 kB / 0.6468 GB, free: 7.379 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.215e-05/0.6065, allocations: 11.94 kB / 0.6468 GB, free: 7.367 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.6065, allocations: 4 kB / 0.6468 GB, free: 7.363 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003591/0.6101, allocations: 2.634 MB / 0.6494 GB, free: 4.637 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007913/0.6109, allocations: 319.5 kB / 0.6497 GB, free: 4.305 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002372/0.6112, allocations: 31.98 kB / 0.6497 GB, free: 4.273 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000819/0.612, allocations: 67.84 kB / 0.6498 GB, free: 4.207 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001787/0.6122, allocations: 84.83 kB / 0.6499 GB, free: 4.125 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/0.6124, allocations: 79.86 kB / 0.6499 GB, free: 4.047 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001091/0.6135, allocations: 0.5781 MB / 0.6505 GB, free: 3.457 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6135, allocations: 0 / 0.6505 GB, free: 3.457 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002102/0.6156, allocations: 471.9 kB / 0.6509 GB, free: 2.996 MB / 458.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 (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.004536/0.6201, allocations: 3.784 MB / 0.6546 GB, free: 15.12 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003852/0.624, allocations: 2.425 MB / 0.657 GB, free: 12.62 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.624, allocations: 5.812 kB / 0.657 GB, free: 12.62 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.6253, allocations: 0.9495 MB / 0.6579 GB, free: 11.64 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.6265, allocations: 187.6 kB / 0.6581 GB, free: 11.46 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2092/0.8357, allocations: 21.42 MB / 0.679 GB, free: 125.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001194/0.8369, allocations: 1.491 MB / 0.6805 GB, free: 125.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00138/0.8383, allocations: 467.5 kB / 0.6809 GB, free: 125.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006433/0.839, allocations: 0.565 MB / 0.6815 GB, free: 125.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.162e-06/0.839, allocations: 1.594 kB / 0.6815 GB, free: 125.1 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07475/0.9137, allocations: 27.52 MB / 0.7084 GB, free: 124 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/0.914, allocations: 205.1 kB / 0.7086 GB, free: 123.8 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.696/3.61, allocations: 0 / 0.7086 GB, free: 123.8 MB / 474.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1)