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.001109/0.001109, allocations: 179.3 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.3+maint.om/package.mo): time 1.219/1.219, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0008124/0.0008124, allocations: 92.14 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1603/0.1603, allocations: 38.06 MB / 357.2 MB, free: 1.891 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.000321, allocations: 8 kB / 424.1 MB, free: 37.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.23, allocations: 56.32 MB / 480.4 MB, free: 9.555 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1234/0.3534, allocations: 100.2 MB / 0.567 GB, free: 2.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.3537, allocations: 87.95 kB / 0.5671 GB, free: 2.145 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04515/0.3988, allocations: 16.95 MB / 0.5836 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3989, allocations: 0 / 0.5836 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.176e-05/0.3989, allocations: 19.94 kB / 0.5836 GB, free: 0.9453 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001757/0.4007, allocations: 1.121 MB / 0.5847 GB, free: 15.76 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.4007, allocations: 12.03 kB / 0.5847 GB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001292/0.4009, allocations: 114.5 kB / 0.5848 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/0.401, allocations: 90.88 kB / 0.5849 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003894/0.4049, allocations: 1.701 MB / 0.5866 GB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.989e-05/0.405, allocations: 53.3 kB / 0.5866 GB, free: 13.74 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.188e-05/0.4051, allocations: 63.94 kB / 0.5867 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.4062, allocations: 0.802 MB / 0.5875 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.4062, allocations: 12 kB / 0.5875 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.454e-05/0.4063, allocations: 24 kB / 0.5875 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.388e-05/0.4064, allocations: 33.27 kB / 0.5875 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009035/0.4073, allocations: 0.614 MB / 0.5881 GB, free: 12.15 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003386/0.4107, allocations: 2.65 MB / 0.5907 GB, free: 9.387 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009436/0.4116, allocations: 0.6098 MB / 0.5913 GB, free: 8.758 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.4117, allocations: 4.5 kB / 0.5913 GB, free: 8.754 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006098/0.4123, allocations: 483 kB / 0.5918 GB, free: 8.238 MB / 426.7 MB Notification: Performance of pre-optimization done (n=63): time 2.614e-06/0.4123, allocations: 4 kB / 0.5918 GB, free: 8.234 MB / 426.7 MB Notification: Performance of matching and sorting (n=64): time 0.003128/0.4154, allocations: 2.521 MB / 0.5943 GB, free: 5.508 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.4156, allocations: 251.9 kB / 0.5945 GB, free: 5.207 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000564/0.4162, allocations: 499.4 kB / 0.595 GB, free: 4.711 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.179e-05/0.4162, allocations: 37.7 kB / 0.595 GB, free: 4.668 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002754/0.4165, allocations: 403.4 kB / 0.5954 GB, free: 4.266 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.4167, allocations: 205.2 kB / 0.5956 GB, free: 4.062 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/0.4167, allocations: 16 kB / 0.5956 GB, free: 4.047 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.4169, allocations: 382.8 kB / 0.596 GB, free: 3.664 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003341/0.4172, allocations: 221.9 kB / 0.5962 GB, free: 3.449 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005003/0.4177, allocations: 465.8 kB / 0.5966 GB, free: 2.895 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004334/0.4182, allocations: 337.4 kB / 0.597 GB, free: 2.551 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4182, allocations: 0 / 0.597 GB, free: 2.551 MB / 426.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001443/0.4196, allocations: 0.9677 MB / 0.5979 GB, free: 1.559 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.308e-05/0.4197, allocations: 66 kB / 0.598 GB, free: 1.484 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.4197, allocations: 8 kB / 0.598 GB, free: 1.477 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004314/0.4201, allocations: 125.9 kB / 0.5981 GB, free: 1.348 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004838/0.4206, allocations: 147.7 kB / 0.5982 GB, free: 1.203 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003025/0.4237, allocations: 3.257 MB / 0.6014 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005346/0.4242, allocations: 47.86 kB / 0.6015 GB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.016e-05/0.4243, allocations: 51.97 kB / 0.6015 GB, free: 13.58 MB / 442.7 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 84 * 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%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005096/0.4248, allocations: 354.7 kB / 0.6018 GB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.659e-05/0.4249, allocations: 75.16 kB / 0.6019 GB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/0.4262, allocations: 0.9848 MB / 0.6029 GB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.4262, allocations: 4 kB / 0.6029 GB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4263, allocations: 0 / 0.6029 GB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.4263, allocations: 7.984 kB / 0.6029 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002243/0.4285, allocations: 1.703 MB / 0.6046 GB, free: 10.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.4285, allocations: 0 / 0.6046 GB, free: 10.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004939/0.429, allocations: 103.9 kB / 0.6046 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001048/0.4292, allocations: 49.72 kB / 0.6047 GB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.235e-05/0.4292, allocations: 23.92 kB / 0.6047 GB, free: 10.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/0.431, allocations: 2.754 MB / 0.6074 GB, free: 7.055 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.431, allocations: 0 / 0.6074 GB, free: 7.055 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.4327, allocations: 1.433 MB / 0.6088 GB, free: 5.527 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003014/0.433, allocations: 192.1 kB / 0.609 GB, free: 5.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.745e-05/0.4331, allocations: 16 kB / 0.609 GB, free: 5.305 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003191/0.4334, allocations: 27.97 kB / 0.609 GB, free: 5.277 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.4335, allocations: 48.41 kB / 0.6091 GB, free: 5.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.204e-05/0.4336, allocations: 55.92 kB / 0.6091 GB, free: 5.176 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004472/0.434, allocations: 391 kB / 0.6095 GB, free: 4.801 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4341, allocations: 0 / 0.6095 GB, free: 4.801 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008409/0.4349, allocations: 196 kB / 0.6097 GB, free: 4.609 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 48 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00215/0.4371, allocations: 2.189 MB / 0.6118 GB, free: 2.328 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001475/0.4385, allocations: 1.015 MB / 0.6128 GB, free: 1.258 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4386, allocations: 0 / 0.6128 GB, free: 1.258 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007155/0.4393, allocations: 0.7057 MB / 0.6135 GB, free: 0.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006774/0.44, allocations: 143.8 kB / 0.6136 GB, free: 368 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007488/0.4475, allocations: 9.253 MB / 0.6227 GB, free: 6.902 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006556/0.4482, allocations: 1.029 MB / 0.6237 GB, free: 5.848 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004833/0.4487, allocations: 153.8 kB / 0.6238 GB, free: 5.695 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003166/0.449, allocations: 279.3 kB / 0.6241 GB, free: 5.422 MB / 458.7 MB Notification: Performance of SimCode: time 7.31e-07/0.449, allocations: 0 / 0.6241 GB, free: 5.422 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03002/0.479, allocations: 14.39 MB / 0.6382 GB, free: 7.09 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/0.4792, allocations: 210 kB / 0.6384 GB, free: 6.852 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.24/2.719, allocations: 0 / 0.6384 GB, free: 6.852 MB / 474.7 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