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/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: "" <> 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/Complex 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 177.1 kB / 13.64 MB, free: 1.676 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.584/1.584, allocations: 205.2 MB / 219.4 MB, free: 14.19 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.0008444/0.0008443, allocations: 78.73 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.177/0.177, allocations: 37.97 MB / 353.5 MB, free: 1.738 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.455e-05/4.457e-05, allocations: 7.984 kB / 417.8 MB, free: 29.01 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1209, allocations: 56.33 MB / 474.2 MB, free: 4.691 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4486/0.5695, allocations: 109.9 MB / 0.5703 GB, free: 9.129 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.5698, allocations: 95.56 kB / 0.5704 GB, free: 9.082 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1391/0.709, allocations: 48.97 MB / 0.6183 GB, free: 14.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.709, allocations: 0 / 0.6183 GB, free: 14.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.602e-05/0.7091, allocations: 39.98 kB / 0.6183 GB, free: 14.67 MB / 426.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.003316/0.7124, allocations: 1.595 MB / 0.6199 GB, free: 13.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.204e-05/0.7125, allocations: 12.03 kB / 0.6199 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003375/0.7129, allocations: 238.1 kB / 0.6201 GB, free: 12.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002851/0.7157, allocations: 448.9 kB / 0.6205 GB, free: 12.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005641/0.7214, allocations: 2.074 MB / 0.6226 GB, free: 10.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.029e-05/0.7215, allocations: 104.8 kB / 0.6227 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002442/0.7217, allocations: 139.8 kB / 0.6228 GB, free: 10.56 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003677/0.7254, allocations: 2.232 MB / 0.625 GB, free: 8.281 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.303e-05/0.7255, allocations: 7.938 kB / 0.625 GB, free: 8.273 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001545/0.7256, allocations: 59.97 kB / 0.625 GB, free: 8.215 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000374/0.726, allocations: 186.8 kB / 0.6252 GB, free: 8.031 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002879/0.7289, allocations: 1.705 MB / 0.6269 GB, free: 6.32 MB / 426.7 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.01169/0.7406, allocations: 9.292 MB / 0.6359 GB, free: 12.55 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002188/0.7428, allocations: 1.456 MB / 0.6374 GB, free: 11.06 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009628/0.7438, allocations: 0.6691 MB / 0.638 GB, free: 10.39 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.102e-05/0.7439, allocations: 13 kB / 0.638 GB, free: 10.38 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001335/0.7452, allocations: 0.927 MB / 0.6389 GB, free: 9.406 MB / 442.7 MB Notification: Performance of pre-optimization done (n=142): time 3.787e-06/0.7452, allocations: 0 / 0.6389 GB, free: 9.406 MB / 442.7 MB Notification: Performance of matching and sorting (n=143): time 0.006415/0.7517, allocations: 3.757 MB / 0.6426 GB, free: 5.547 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002376/0.7519, allocations: 290.4 kB / 0.6429 GB, free: 5.199 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.7532, allocations: 0.7523 MB / 0.6436 GB, free: 4.422 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.7534, allocations: 49.69 kB / 0.6437 GB, free: 4.367 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008331/0.7542, allocations: 0.736 MB / 0.6444 GB, free: 3.617 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004761/0.7547, allocations: 489.1 kB / 0.6449 GB, free: 3.133 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.886e-05/0.7548, allocations: 32 kB / 0.6449 GB, free: 3.102 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002763/0.7551, allocations: 442.6 kB / 0.6453 GB, free: 2.66 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009905/0.7561, allocations: 0.6053 MB / 0.6459 GB, free: 2.055 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/0.7575, allocations: 1.147 MB / 0.647 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.7588, allocations: 0.8864 MB / 0.6479 GB, free: 15.78 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.7588, allocations: 4 kB / 0.6479 GB, free: 15.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.004497/0.7633, allocations: 2.516 MB / 0.6503 GB, free: 13.22 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.808e-05/0.7634, allocations: 71.66 kB / 0.6504 GB, free: 13.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003085/0.7665, allocations: 1.67 MB / 0.652 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001676/0.7682, allocations: 0.5422 MB / 0.6526 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.7693, allocations: 323.4 kB / 0.6529 GB, free: 10.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01005/0.7793, allocations: 8.66 MB / 0.6613 GB, free: 1.398 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.7806, allocations: 95.94 kB / 0.6614 GB, free: 1.305 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001673/0.7807, allocations: 95.95 kB / 0.6615 GB, free: 1.211 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 () * 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.0004188/0.7812, allocations: 289.5 kB / 0.6618 GB, free: 0.9102 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/0.7814, allocations: 126.5 kB / 0.6619 GB, free: 0.7852 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002798/0.7842, allocations: 1.668 MB / 0.6635 GB, free: 15.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.371e-05/0.7842, allocations: 23.94 kB / 0.6636 GB, free: 15.08 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.7842, allocations: 4 kB / 0.6636 GB, free: 15.07 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/0.7842, allocations: 11.97 kB / 0.6636 GB, free: 15.06 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004974/0.7892, allocations: 3.193 MB / 0.6667 GB, free: 11.78 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.7892, allocations: 3.938 kB / 0.6667 GB, free: 11.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001394/0.7906, allocations: 315.8 kB / 0.667 GB, free: 11.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.585e-05/0.7907, allocations: 15.94 kB / 0.667 GB, free: 11.45 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.945e-05/0.7908, allocations: 43.97 kB / 0.6671 GB, free: 11.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.7908, allocations: 4 kB / 0.6671 GB, free: 11.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.7908, allocations: 4 kB / 0.6671 GB, free: 11.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003436/0.7942, allocations: 2.61 MB / 0.6696 GB, free: 8.695 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004944/0.7947, allocations: 307.5 kB / 0.6699 GB, free: 8.375 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.7949, allocations: 31.98 kB / 0.6699 GB, free: 8.344 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006046/0.7955, allocations: 67.84 kB / 0.67 GB, free: 8.277 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/0.7957, allocations: 84.89 kB / 0.6701 GB, free: 8.195 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001428/0.7959, allocations: 79.84 kB / 0.6702 GB, free: 8.117 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007473/0.7966, allocations: 0.5629 MB / 0.6707 GB, free: 7.539 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.7966, allocations: 0 / 0.6707 GB, free: 7.539 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001493/0.7981, allocations: 475.9 kB / 0.6712 GB, free: 7.074 MB / 474.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) * 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.004329/0.8025, allocations: 3.769 MB / 0.6748 GB, free: 3.215 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003469/0.8059, allocations: 2.388 MB / 0.6772 GB, free: 0.7539 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.806, allocations: 0 / 0.6772 GB, free: 0.7539 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001159/0.8071, allocations: 0.9463 MB / 0.6781 GB, free: 15.78 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008355/0.808, allocations: 187.3 kB / 0.6783 GB, free: 15.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005566/0.8136, allocations: 3.306 MB / 0.6815 GB, free: 12.22 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/0.8148, allocations: 1.494 MB / 0.683 GB, free: 10.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00116/0.8159, allocations: 466.1 kB / 0.6834 GB, free: 10.23 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007573/0.8167, allocations: 0.5618 MB / 0.684 GB, free: 9.672 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/0.8167, allocations: 0 / 0.684 GB, free: 9.672 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3479/1.165, allocations: 28.09 MB / 0.7114 GB, free: 144.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001637/1.165, allocations: 181.1 kB / 0.7116 GB, free: 144.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.943/4.108, allocations: 3.688 kB / 0.7116 GB, free: 144.3 MB / 0.4948 GB (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) 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