Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Transformation.TapChanger,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_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.001505/0.001505, allocations: 176.4 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009164/0.0009165, allocations: 87 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1812/0.1812, allocations: 38 MB / 348 MB, free: 7.762 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.471e-05/1.474e-05, allocations: 0 / 410.7 MB, free: 46.86 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1166, allocations: 56.33 MB / 467 MB, free: 6.469 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4029/0.5195, allocations: 99.4 MB / 0.5531 GB, free: 11.37 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/0.5198, allocations: 91.94 kB / 0.5532 GB, free: 11.28 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0476/0.5674, allocations: 16.76 MB / 0.5696 GB, free: 10.31 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5675, allocations: 0 / 0.5696 GB, free: 10.31 MB / 411.1 MB Notification: Performance of Transformations before backend: time 4.877e-05/0.5675, allocations: 16 kB / 0.5696 GB, free: 10.29 MB / 411.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001637/0.5692, allocations: 1 MB / 0.5706 GB, free: 9.23 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.5692, allocations: 12.02 kB / 0.5706 GB, free: 9.219 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.5694, allocations: 98.83 kB / 0.5707 GB, free: 9.121 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004105/0.5735, allocations: 1.681 MB / 0.5723 GB, free: 7.398 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.606e-05/0.5736, allocations: 24 kB / 0.5723 GB, free: 7.375 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.242e-05/0.5737, allocations: 36 kB / 0.5724 GB, free: 7.34 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009701/0.5747, allocations: 0.5531 MB / 0.5729 GB, free: 6.785 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.5757, allocations: 0.7059 MB / 0.5736 GB, free: 6.043 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.5758, allocations: 3.938 kB / 0.5736 GB, free: 6.039 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.213e-05/0.5758, allocations: 7.953 kB / 0.5736 GB, free: 6.031 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.166e-05/0.5759, allocations: 33.3 kB / 0.5736 GB, free: 5.996 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003497/0.5794, allocations: 2.534 MB / 0.5761 GB, free: 3.355 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008727/0.5803, allocations: 0.5755 MB / 0.5767 GB, free: 2.762 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005308/0.5808, allocations: 347.2 kB / 0.577 GB, free: 2.418 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.378e-05/0.5809, allocations: 12.42 kB / 0.577 GB, free: 2.406 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005949/0.5815, allocations: 454.7 kB / 0.5775 GB, free: 1.918 MB / 411.1 MB Notification: Performance of pre-optimization done (n=63): time 2.545e-06/0.5815, allocations: 0 / 0.5775 GB, free: 1.918 MB / 411.1 MB Notification: Performance of matching and sorting (n=64): time 0.002206/0.5837, allocations: 1.478 MB / 0.5789 GB, free: 392 kB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/0.5839, allocations: 247.9 kB / 0.5791 GB, free: 88 kB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005341/0.5844, allocations: 458.2 kB / 0.5796 GB, free: 15.64 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.5845, allocations: 29.7 kB / 0.5796 GB, free: 15.6 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002905/0.5848, allocations: 399.4 kB / 0.58 GB, free: 15.2 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.5849, allocations: 197.1 kB / 0.5802 GB, free: 15.01 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.585, allocations: 0 / 0.5802 GB, free: 15.01 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.5852, allocations: 390.8 kB / 0.5805 GB, free: 14.62 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00031/0.5855, allocations: 198.6 kB / 0.5807 GB, free: 14.42 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004665/0.586, allocations: 426.4 kB / 0.5811 GB, free: 13.91 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/0.5864, allocations: 261.9 kB / 0.5814 GB, free: 13.66 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5864, allocations: 4 kB / 0.5814 GB, free: 13.65 MB / 427.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00135/0.5877, allocations: 0.7847 MB / 0.5822 GB, free: 12.86 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.478e-05/0.5878, allocations: 59.41 kB / 0.5822 GB, free: 12.79 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.5878, allocations: 8 kB / 0.5822 GB, free: 12.78 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003667/0.5882, allocations: 110 kB / 0.5823 GB, free: 12.66 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004979/0.5887, allocations: 143.8 kB / 0.5825 GB, free: 12.52 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0029/0.5916, allocations: 3.097 MB / 0.5855 GB, free: 9.199 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004069/0.592, allocations: 31.83 kB / 0.5855 GB, free: 9.168 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.226e-05/0.5921, allocations: 56.02 kB / 0.5856 GB, free: 9.113 MB / 427.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (90): * Single equations (assignments): 86 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002127/0.5924, allocations: 201.9 kB / 0.5858 GB, free: 8.898 MB / 427.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000943/0.5933, allocations: 0.6343 MB / 0.5864 GB, free: 8.258 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.948e-05/0.5934, allocations: 71.16 kB / 0.5865 GB, free: 8.188 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.5945, allocations: 0.6537 MB / 0.5871 GB, free: 7.523 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.5945, allocations: 12.03 kB / 0.5871 GB, free: 7.512 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.5945, allocations: 4 kB / 0.5871 GB, free: 7.508 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.5945, allocations: 7.922 kB / 0.5871 GB, free: 7.5 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001927/0.5965, allocations: 1.351 MB / 0.5884 GB, free: 6.094 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.5965, allocations: 4.094 kB / 0.5884 GB, free: 6.09 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004886/0.597, allocations: 115.8 kB / 0.5885 GB, free: 5.977 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.597, allocations: 4 kB / 0.5886 GB, free: 5.973 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.763e-05/0.597, allocations: 12 kB / 0.5886 GB, free: 5.961 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.597, allocations: 7.984 kB / 0.5886 GB, free: 5.953 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5971, allocations: 3.938 kB / 0.5886 GB, free: 5.949 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.5984, allocations: 1.111 MB / 0.5897 GB, free: 4.785 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002126/0.5986, allocations: 184.2 kB / 0.5898 GB, free: 4.586 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.754e-05/0.5987, allocations: 4.062 kB / 0.5898 GB, free: 4.582 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002981/0.599, allocations: 23.98 kB / 0.5899 GB, free: 4.559 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.587e-05/0.5991, allocations: 44.38 kB / 0.5899 GB, free: 4.516 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.168e-05/0.5992, allocations: 63.91 kB / 0.59 GB, free: 4.453 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0003407/0.5995, allocations: 334.8 kB / 0.5903 GB, free: 4.125 MB / 427.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5995, allocations: 4 kB / 0.5903 GB, free: 4.121 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0006671/0.6002, allocations: 172 kB / 0.5905 GB, free: 3.953 MB / 427.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (trafo1.i1,trafo2.i1) * 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 (55): * Single equations (assignments): 52 * 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.001901/0.6021, allocations: 1.991 MB / 0.5924 GB, free: 1.906 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.001288/0.6034, allocations: 0.9176 MB / 0.5933 GB, free: 0.9453 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.6034, allocations: 0 / 0.5933 GB, free: 0.9453 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005068/0.604, allocations: 485.7 kB / 0.5938 GB, free: 460 kB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006679/0.6046, allocations: 127.4 kB / 0.5939 GB, free: 332 kB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.607, allocations: 1.327 MB / 0.5952 GB, free: 14.94 MB / 443.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006588/0.6076, allocations: 1.025 MB / 0.5962 GB, free: 13.88 MB / 443.1 MB Notification: Performance of simCode: alias equations: time 0.0004696/0.6081, allocations: 153.7 kB / 0.5963 GB, free: 13.73 MB / 443.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003247/0.6084, allocations: 279.3 kB / 0.5966 GB, free: 13.46 MB / 443.1 MB Notification: Performance of SimCode: time 3.21e-07/0.6084, allocations: 0 / 0.5966 GB, free: 13.46 MB / 443.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03743/0.6459, allocations: 12.73 MB / 0.609 GB, free: 0.7344 MB / 443.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000239/0.6462, allocations: 152.5 kB / 0.6092 GB, free: 0.543 MB / 443.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.292/2.939, allocations: 0 / 0.6092 GB, free: 0.543 MB / 443.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger_res.mat does not exist to compare? outputFormat=mat