Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.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.Transmission.FaultRXline,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_FaultRXline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.FaultRXline,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_FaultRXline",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.00112/0.00112, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.279/1.279, 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.000821/0.000821, allocations: 91.12 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1572/0.1572, allocations: 38.06 MB / 357.2 MB, free: 1.891 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002716/0.0002716, allocations: 8 kB / 424.1 MB, free: 37.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2429, allocations: 56.34 MB / 480.4 MB, free: 9.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1309/0.3739, allocations: 106.2 MB / 0.5728 GB, free: 12.23 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.3742, allocations: 95.94 kB / 0.5729 GB, free: 12.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06533/0.4396, allocations: 25.19 MB / 0.5975 GB, free: 2.648 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4396, allocations: 4 kB / 0.5975 GB, free: 2.645 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.35e-05/0.4397, allocations: 27.98 kB / 0.5975 GB, free: 2.617 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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.002602/0.4423, allocations: 1.497 MB / 0.599 GB, free: 1.031 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.4423, allocations: 8.031 kB / 0.599 GB, free: 1.023 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000206/0.4425, allocations: 181.4 kB / 0.5992 GB, free: 0.8359 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009489/0.4435, allocations: 203 kB / 0.5994 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003024/0.4465, allocations: 1.305 MB / 0.6007 GB, free: 15.29 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.904e-05/0.4466, allocations: 93.98 kB / 0.6008 GB, free: 15.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.4468, allocations: 107.9 kB / 0.6009 GB, free: 15.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002158/0.449, allocations: 1.594 MB / 0.6024 GB, free: 13.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.449, allocations: 4 kB / 0.6024 GB, free: 13.4 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.4491, allocations: 43.98 kB / 0.6025 GB, free: 13.36 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.128e-05/0.4492, allocations: 77.95 kB / 0.6025 GB, free: 13.29 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/0.4512, allocations: 1.409 MB / 0.6039 GB, free: 11.87 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007399/0.4586, allocations: 5.76 MB / 0.6095 GB, free: 5.941 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/0.46, allocations: 1.104 MB / 0.6106 GB, free: 4.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.982e-05/0.4601, allocations: 17.06 kB / 0.6106 GB, free: 4.805 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0014/0.4615, allocations: 1.139 MB / 0.6117 GB, free: 3.633 MB / 442.7 MB Notification: Performance of pre-optimization done (n=161): time 3.085e-06/0.4615, allocations: 4 kB / 0.6117 GB, free: 3.629 MB / 442.7 MB Notification: Performance of matching and sorting (n=162): time 0.006678/0.4682, allocations: 5.261 MB / 0.6169 GB, free: 14.14 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.4684, allocations: 238.9 kB / 0.6171 GB, free: 13.86 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005592/0.4689, allocations: 0.5098 MB / 0.6176 GB, free: 13.34 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.21e-05/0.469, allocations: 61.69 kB / 0.6177 GB, free: 13.27 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000303/0.4693, allocations: 456.5 kB / 0.6181 GB, free: 12.82 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003728/0.4697, allocations: 493.4 kB / 0.6186 GB, free: 12.33 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.131e-05/0.4698, allocations: 28 kB / 0.6186 GB, free: 12.3 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.47, allocations: 418.7 kB / 0.619 GB, free: 11.89 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009403/0.4709, allocations: 0.7028 MB / 0.6197 GB, free: 11.18 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.4721, allocations: 0.9911 MB / 0.6207 GB, free: 10.09 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.4732, allocations: 0.8716 MB / 0.6215 GB, free: 9.207 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.4732, allocations: 4 kB / 0.6215 GB, free: 9.203 MB / 458.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.005136/0.4783, allocations: 2.862 MB / 0.6243 GB, free: 6.324 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.691e-05/0.4784, allocations: 61.91 kB / 0.6244 GB, free: 6.254 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004187/0.4826, allocations: 2.372 MB / 0.6267 GB, free: 3.879 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00305/0.4857, allocations: 1.082 MB / 0.6277 GB, free: 2.797 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004566/0.4861, allocations: 147.7 kB / 0.6279 GB, free: 2.652 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01211/0.4983, allocations: 8.592 MB / 0.6363 GB, free: 9.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008458/0.4991, allocations: 99.81 kB / 0.6364 GB, free: 9.812 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.4992, allocations: 59.98 kB / 0.6364 GB, free: 9.754 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 84 (system.initime,$PRE.abc.fault_pp1.t0,abc.fault_pp1.t0,$PRE.abc.fault_pp2.t0,abc.fault_pp2.t0,$whenCondition2,$PRE.relay2.cnt,relay2.cnt,$whenCondition1,$PRE.relay1.cnt,relay1.cnt,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.switch1.switch_a.arc,switch1.switch_a.arc,$PRE.switch1.switch_a.open,switch1.switch_a.open,switch1.switch_a.closed,$PRE.switch1.switch_b.arc,switch1.switch_b.arc,$PRE.switch1.switch_b.open,switch1.switch_b.open,switch1.switch_b.closed,$PRE.switch1.switch_c.arc,switch1.switch_c.arc,$PRE.switch1.switch_c.open,switch1.switch_c.open,switch1.switch_c.closed,$PRE.switch2.switch_a.arc,switch2.switch_a.arc,$PRE.switch2.switch_a.open,switch2.switch_a.open,switch2.switch_a.closed,$PRE.switch2.switch_b.arc,switch2.switch_b.arc,$PRE.switch2.switch_b.open,switch2.switch_b.open,switch2.switch_b.closed,$PRE.switch2.switch_c.arc,switch2.switch_c.arc,$PRE.switch2.switch_c.open,switch2.switch_c.open,switch2.switch_c.closed,$PRE.relay1.y[1],relay1.y[1],$PRE.relay1.y[2],relay1.y[2],$PRE.relay1.y[3],relay1.y[3],$PRE.relay2.y[1],relay2.y[1],$PRE.relay2.y[2],relay2.y[2],$PRE.relay2.y[3],relay2.y[3],$PRE.abc.theta_zero,abc.theta_zero,$PRE.abc.v_pos,abc.v_pos,$PRE.abc.first,abc.first,$PRE.abc.fault_pp1.on,abc.fault_pp1.on,$PRE.abc.fault_pp2.on,abc.fault_pp2.on) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 139 * Array equations: 4 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(12,81.9%) 41} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007138/0.5, allocations: 496.7 kB / 0.6369 GB, free: 9.246 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/0.5002, allocations: 106.8 kB / 0.637 GB, free: 9.141 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002647/0.5028, allocations: 1.881 MB / 0.6388 GB, free: 7.234 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.314e-05/0.5029, allocations: 43.98 kB / 0.6389 GB, free: 7.191 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5029, allocations: 4 kB / 0.6389 GB, free: 7.188 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.5029, allocations: 15.92 kB / 0.6389 GB, free: 7.172 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005038/0.508, allocations: 3.546 MB / 0.6424 GB, free: 3.543 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/0.508, allocations: 8.078 kB / 0.6424 GB, free: 3.535 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001878/0.5099, allocations: 383.6 kB / 0.6427 GB, free: 3.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001553/0.51, allocations: 52.81 kB / 0.6428 GB, free: 3.105 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.038e-05/0.5101, allocations: 35.97 kB / 0.6428 GB, free: 3.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.5113, allocations: 1.568 MB / 0.6443 GB, free: 1.371 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5113, allocations: 0 / 0.6443 GB, free: 1.371 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1794/0.6907, allocations: 3.016 MB / 0.6473 GB, free: 136.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007219/0.6915, allocations: 297.8 kB / 0.6476 GB, free: 136.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/0.6917, allocations: 43.39 kB / 0.6476 GB, free: 136.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006679/0.6923, allocations: 74.95 kB / 0.6477 GB, free: 136.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003074/0.6927, allocations: 137.2 kB / 0.6478 GB, free: 136.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.6928, allocations: 43.14 kB / 0.6479 GB, free: 136.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005949/0.6934, allocations: 407.5 kB / 0.6482 GB, free: 136.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6934, allocations: 0 / 0.6482 GB, free: 136.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001556/0.6949, allocations: 414.8 kB / 0.6486 GB, free: 136.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (line.i1[1],line.i1[2],line.i1[3],line.i2[1],line.i2[2],line.i2[3]) * Number of discrete variables: 57 (switch1.switch_a.closed,switch1.switch_b.closed,switch1.switch_c.closed,switch2.switch_a.closed,switch2.switch_c.closed,switch2.switch_b.closed,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,switch1.switch_a.arc,switch1.switch_a.open,switch1.switch_b.arc,switch1.switch_b.open,switch1.switch_c.arc,switch1.switch_c.open,switch2.switch_a.arc,switch2.switch_a.open,switch2.switch_b.arc,switch2.switch_b.open,switch2.switch_c.arc,switch2.switch_c.open,relay1.y[1],relay1.y[2],relay1.y[3],relay1.cnt,relay2.y[1],relay2.y[2],relay2.y[3],relay2.cnt,abc.theta_zero,abc.v_pos,abc.first,abc.fault_pp1.on,abc.fault_pp1.t0,abc.fault_pp2.on,abc.fault_pp2.t0,system.initime) * Number of discrete states: 21 (abc.theta_zero,abc.fault_pp1.on,abc.fault_pp2.on,relay2.y[3],relay2.y[2],relay2.y[1],relay2.cnt,$whenCondition2,relay1.y[3],relay1.y[2],relay1.y[1],relay1.cnt,$whenCondition1,switch2.switch_b.open,switch2.switch_c.open,switch2.switch_a.open,abc.v_pos,abc.first,switch1.switch_c.open,switch1.switch_b.open,switch1.switch_a.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 107 * Array equations: 4 * Algorithm blocks: 2 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004632/0.6996, allocations: 3.95 MB / 0.6525 GB, free: 135.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004185/0.7038, allocations: 2.558 MB / 0.655 GB, free: 135.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7038, allocations: 0 / 0.655 GB, free: 135.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001431/0.7052, allocations: 1.256 MB / 0.6562 GB, free: 134.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006771/0.7059, allocations: 144.1 kB / 0.6564 GB, free: 134.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01414/0.7201, allocations: 14.09 MB / 0.6701 GB, free: 126.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008382/0.721, allocations: 1.249 MB / 0.6713 GB, free: 126 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00086/0.7218, allocations: 279 kB / 0.6716 GB, free: 126 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005888/0.7224, allocations: 420.8 kB / 0.672 GB, free: 125.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.022e-06/0.7224, allocations: 1.438 kB / 0.672 GB, free: 125.7 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03841/0.7608, allocations: 26.13 MB / 0.6975 GB, free: 120.4 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002259/0.7611, allocations: 208.6 kB / 0.6977 GB, free: 120.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.562/3.323, allocations: 0 / 0.6977 GB, free: 120.2 MB / 474.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.FaultRXline_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_FaultRXline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_FaultRXline.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.FaultRXline_res.mat does not exist to compare? outputFormat=mat