Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.TapChanger,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.TapChanger,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 89.09 kB / 16.31 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 180.3 kB / 17.21 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 223.3 MB / 241.2 MB, free: 14.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1772/0.1772, allocations: 38.09 MB / 330.4 MB, free: 8.613 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003859/0.0003863, allocations: 8 kB / 400.2 MB, free: 34.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1049, allocations: 59.17 MB / 459.3 MB, free: 7.277 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.009556/0.1145, allocations: 9.586 MB / 468.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005918/0.1204, allocations: 3.675 MB / 472.6 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006565/0.1211, allocations: 59.56 kB / 472.7 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007332/0.1218, allocations: 341.6 kB / 473 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001977/0.1238, allocations: 1.117 MB / 474.1 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.1253, allocations: 0.6356 MB / 474.7 MB, free: 7.816 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002881/0.1282, allocations: 3.1 MB / 477.8 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001763/0.13, allocations: 1.107 MB / 478.9 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001327/0.1313, allocations: 0.8246 MB / 479.8 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001837/0.1331, allocations: 1.367 MB / 481.1 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001448/0.1333, allocations: 64 kB / 481.2 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000887/0.1342, allocations: 431.3 kB / 481.6 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007803/0.135, allocations: 0.8768 MB / 482.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003412/0.1353, allocations: 336.7 kB / 482.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001584/0.1369, allocations: 1.742 MB / 484.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1369, allocations: 0 / 484.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.137, allocations: 0 / 484.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.401e-05/0.137, allocations: 0 / 484.6 MB, free: 13.91 MB / 366.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.002777/0.1398, allocations: 1.707 MB / 486.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1398, allocations: 8.031 kB / 486.3 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002906/0.1401, allocations: 236.6 kB / 486.5 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001628/0.1418, allocations: 353.5 kB / 486.9 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.1434, allocations: 1.004 MB / 487.9 MB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.368e-05/0.1435, allocations: 110.7 kB / 488 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003017/0.1438, allocations: 159.9 kB / 488.1 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003233/0.147, allocations: 2.316 MB / 490.4 MB, free: 7.754 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.084e-05/0.1471, allocations: 11.94 kB / 490.5 MB, free: 7.742 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/0.1472, allocations: 63.95 kB / 490.5 MB, free: 7.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004604/0.1477, allocations: 226.8 kB / 490.7 MB, free: 7.457 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002798/0.1505, allocations: 1.834 MB / 492.6 MB, free: 5.617 MB / 366.1 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.01094/0.1615, allocations: 9.567 MB / 0.4904 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002297/0.1638, allocations: 1.543 MB / 0.4919 GB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009184/0.1647, allocations: 0.5951 MB / 0.4925 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.346e-05/0.1648, allocations: 20.97 kB / 0.4925 GB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001095/0.1659, allocations: 0.8527 MB / 0.4933 GB, free: 8.422 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 2.515e-06/0.1659, allocations: 0 / 0.4933 GB, free: 8.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.005951/0.1719, allocations: 3.996 MB / 0.4972 GB, free: 4.328 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001675/0.1721, allocations: 286.3 kB / 0.4975 GB, free: 3.988 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/0.1734, allocations: 0.9146 MB / 0.4984 GB, free: 3.051 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.546e-05/0.1735, allocations: 45.7 kB / 0.4984 GB, free: 3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006842/0.1742, allocations: 0.7706 MB / 0.4992 GB, free: 2.215 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003817/0.1746, allocations: 449.7 kB / 0.4996 GB, free: 1.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.086e-05/0.1747, allocations: 32 kB / 0.4996 GB, free: 1.738 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002623/0.1749, allocations: 434.7 kB / 0.5 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009025/0.1759, allocations: 0.5778 MB / 0.5006 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2496/0.4255, allocations: 1.161 MB / 0.5017 GB, free: 54.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001828/0.4274, allocations: 0.8346 MB / 0.5026 GB, free: 54.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.717e-05/0.4274, allocations: 5.906 kB / 0.5026 GB, free: 54.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.005361/0.4328, allocations: 2.475 MB / 0.505 GB, free: 53.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.782e-05/0.4329, allocations: 79.47 kB / 0.5051 GB, free: 53.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00286/0.4358, allocations: 1.556 MB / 0.5066 GB, free: 53.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001795/0.4376, allocations: 0.5461 MB / 0.5071 GB, free: 53.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.4387, allocations: 325.5 kB / 0.5074 GB, free: 53.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01005/0.4488, allocations: 8.684 MB / 0.5159 GB, free: 46.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.4501, allocations: 81.58 kB / 0.516 GB, free: 46.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001965/0.4503, allocations: 98.69 kB / 0.5161 GB, free: 46.75 MB / 382.1 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.001058/0.4514, allocations: 0.5972 MB / 0.5167 GB, free: 46.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000214/0.4516, allocations: 129.7 kB / 0.5168 GB, free: 46.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002764/0.4544, allocations: 1.524 MB / 0.5183 GB, free: 45.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/0.4544, allocations: 12.25 kB / 0.5183 GB, free: 45.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.4544, allocations: 1.844 kB / 0.5183 GB, free: 45.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/0.4544, allocations: 11.66 kB / 0.5183 GB, free: 45.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00468/0.4591, allocations: 3.071 MB / 0.5213 GB, free: 44.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.4592, allocations: 1.531 kB / 0.5213 GB, free: 44.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/0.4605, allocations: 307.5 kB / 0.5216 GB, free: 44.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.331e-05/0.4605, allocations: 9.094 kB / 0.5216 GB, free: 44.44 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.966e-05/0.4606, allocations: 43.09 kB / 0.5216 GB, free: 44.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.025e-05/0.4606, allocations: 10.06 kB / 0.5216 GB, free: 44.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.4606, allocations: 1.906 kB / 0.5217 GB, free: 44.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00276/0.4634, allocations: 2.304 MB / 0.5239 GB, free: 43.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004633/0.4639, allocations: 290.8 kB / 0.5242 GB, free: 43.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/0.464, allocations: 33.7 kB / 0.5242 GB, free: 43.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005134/0.4645, allocations: 56.25 kB / 0.5243 GB, free: 43.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.4647, allocations: 77.66 kB / 0.5243 GB, free: 43.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/0.4648, allocations: 78.8 kB / 0.5244 GB, free: 43.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000806/0.4656, allocations: 0.5977 MB / 0.525 GB, free: 42.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4656, allocations: 3.938 kB / 0.525 GB, free: 42.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001493/0.4671, allocations: 422.2 kB / 0.5254 GB, free: 42.89 MB / 382.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) * 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.00264/0.4698, allocations: 2.898 MB / 0.5282 GB, free: 41.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002951/0.4727, allocations: 2.306 MB / 0.5305 GB, free: 39.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.4728, allocations: 0 / 0.5305 GB, free: 39.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008635/0.4736, allocations: 0.8767 MB / 0.5313 GB, free: 39.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009349/0.4746, allocations: 209.3 kB / 0.5315 GB, free: 39.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/0.4869, allocations: 9.809 MB / 0.5411 GB, free: 28.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008277/0.4878, allocations: 1.461 MB / 0.5425 GB, free: 27.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001094/0.4889, allocations: 470.3 kB / 0.543 GB, free: 26.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005424/0.4895, allocations: 0.5618 MB / 0.5435 GB, free: 26.23 MB / 382.1 MB Notification: Performance of SimCode: time 9.61e-07/0.4895, allocations: 0 / 0.5435 GB, free: 26.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04083/0.5303, allocations: 25.81 MB / 0.5688 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/0.5305, allocations: 220.8 kB / 0.569 GB, free: 460 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.648/3.178, allocations: 4.062 kB / 0.569 GB, free: 456 kB / 382.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_TapChanger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_TapChanger.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger_res.mat does not exist to compare? outputFormat=mat