Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline.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.Tline,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_Tline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.Tline,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_Tline",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.001617/0.001616, allocations: 183.7 kB / 15.76 MB, free: 6.344 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.172/2.172, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001235/0.001235, allocations: 98.83 kB / 270.2 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2981/0.2981, allocations: 38.06 MB / 356.6 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005018/0.0005019, allocations: 12 kB / 422.8 MB, free: 26.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1289, allocations: 56.33 MB / 479.1 MB, free: 1.945 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5642/0.6932, allocations: 107.6 MB / 0.573 GB, free: 8.336 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005237/0.6938, allocations: 99.25 kB / 0.5731 GB, free: 8.281 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2044/0.8982, allocations: 29.59 MB / 0.602 GB, free: 14.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.747e-06/0.8984, allocations: 4 kB / 0.602 GB, free: 14.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001855/0.8986, allocations: 24 kB / 0.602 GB, free: 14.79 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.01232/0.9109, allocations: 1.678 MB / 0.6037 GB, free: 13.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.463e-05/0.911, allocations: 8.031 kB / 0.6037 GB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001228/0.9122, allocations: 178.9 kB / 0.6038 GB, free: 12.99 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003268/0.9156, allocations: 227.2 kB / 0.6041 GB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008017/0.9236, allocations: 1.636 MB / 0.6057 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001723/0.9239, allocations: 87.23 kB / 0.6057 GB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007964/0.9247, allocations: 118.3 kB / 0.6059 GB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005881/0.9306, allocations: 1.655 MB / 0.6075 GB, free: 10 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.848e-05/0.9307, allocations: 7.875 kB / 0.6075 GB, free: 9.992 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000246/0.931, allocations: 51.03 kB / 0.6075 GB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003938/0.9314, allocations: 61.86 kB / 0.6076 GB, free: 9.918 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005263/0.9367, allocations: 1.454 MB / 0.609 GB, free: 8.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03206/0.9688, allocations: 7.996 MB / 0.6168 GB, free: 2.352 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004331/0.9732, allocations: 1.567 MB / 0.6183 GB, free: 1.363 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002795/0.9735, allocations: 17.05 kB / 0.6184 GB, free: 1.348 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005222/0.9788, allocations: 1.786 MB / 0.6201 GB, free: 15.53 MB / 426.7 MB Notification: Performance of pre-optimization done (n=177): time 7.144e-06/0.9788, allocations: 0 / 0.6201 GB, free: 15.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=178): time 0.05321/1.032, allocations: 10.69 MB / 0.6305 GB, free: 4.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002342/1.032, allocations: 250.9 kB / 0.6308 GB, free: 4.184 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/1.034, allocations: 0.5853 MB / 0.6314 GB, free: 3.594 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006412/1.035, allocations: 65.7 kB / 0.6314 GB, free: 3.523 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006635/1.035, allocations: 499.3 kB / 0.6319 GB, free: 3.031 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001327/1.037, allocations: 0.5903 MB / 0.6325 GB, free: 2.434 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003804/1.037, allocations: 32 kB / 0.6325 GB, free: 2.402 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003098/1.037, allocations: 394.8 kB / 0.6329 GB, free: 2.008 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004001/1.041, allocations: 1.269 MB / 0.6341 GB, free: 0.7383 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004494/1.046, allocations: 1.537 MB / 0.6356 GB, free: 15.12 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004498/1.05, allocations: 1.434 MB / 0.637 GB, free: 13.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.626e-05/1.051, allocations: 0 / 0.637 GB, free: 13.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.04652/1.097, allocations: 7.59 MB / 0.6444 GB, free: 6.051 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.784e-05/1.097, allocations: 59.41 kB / 0.6445 GB, free: 5.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03546/1.133, allocations: 6.172 MB / 0.6505 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04786/1.181, allocations: 7.292 MB / 0.6576 GB, free: 8.496 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/1.182, allocations: 159.7 kB / 0.6578 GB, free: 8.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08137/1.263, allocations: 24.78 MB / 0.682 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002606/1.266, allocations: 155.8 kB / 0.6821 GB, free: 15.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008661/1.267, allocations: 191.8 kB / 0.6823 GB, free: 15.06 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 91 (system.initime,$whenCondition2,$PRE.relay2.cnt,relay2.cnt,$whenCondition1,$PRE.relay1.cnt,relay1.cnt,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.breaker1.breaker_a.arc,breaker1.breaker_a.arc,$PRE.breaker1.breaker_a.open,breaker1.breaker_a.open,breaker1.breaker_a.closed,$PRE.breaker1.breaker_a.t0,breaker1.breaker_a.t0,breaker1.breaker_a.opening,$PRE.breaker1.breaker_b.arc,breaker1.breaker_b.arc,$PRE.breaker1.breaker_b.open,breaker1.breaker_b.open,breaker1.breaker_b.closed,$PRE.breaker1.breaker_b.t0,breaker1.breaker_b.t0,breaker1.breaker_b.opening,$PRE.breaker1.breaker_c.arc,breaker1.breaker_c.arc,$PRE.breaker1.breaker_c.open,breaker1.breaker_c.open,breaker1.breaker_c.closed,$PRE.breaker1.breaker_c.t0,breaker1.breaker_c.t0,breaker1.breaker_c.opening,$PRE.breaker2.breaker_a.arc,breaker2.breaker_a.arc,$PRE.breaker2.breaker_a.open,breaker2.breaker_a.open,breaker2.breaker_a.closed,$PRE.breaker2.breaker_a.t0,breaker2.breaker_a.t0,breaker2.breaker_a.opening,$PRE.breaker2.breaker_b.arc,breaker2.breaker_b.arc,$PRE.breaker2.breaker_b.open,breaker2.breaker_b.open,breaker2.breaker_b.closed,$PRE.breaker2.breaker_b.t0,breaker2.breaker_b.t0,breaker2.breaker_b.opening,$PRE.breaker2.breaker_c.arc,breaker2.breaker_c.arc,$PRE.breaker2.breaker_c.open,breaker2.breaker_c.open,breaker2.breaker_c.closed,$PRE.breaker2.breaker_c.t0,breaker2.breaker_c.t0,breaker2.breaker_c.opening,$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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 152 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {27 48} Notification: Performance of prepare postOptimizeDAE: time 0.001968/1.269, allocations: 0.5006 MB / 0.6828 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006216/1.27, allocations: 122.6 kB / 0.6829 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03193/1.302, allocations: 5.554 MB / 0.6884 GB, free: 8.805 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-05/1.302, allocations: 31.98 kB / 0.6884 GB, free: 8.773 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.956e-05/1.302, allocations: 0 / 0.6884 GB, free: 8.773 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.544e-05/1.302, allocations: 11.97 kB / 0.6884 GB, free: 8.762 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04106/1.343, allocations: 8.114 MB / 0.6963 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.332e-05/1.343, allocations: 0 / 0.6963 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001491/1.344, allocations: 147.9 kB / 0.6965 GB, free: 396 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.05121/1.396, allocations: 8.162 MB / 0.7044 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001013/1.397, allocations: 263.7 kB / 0.7047 GB, free: 7.922 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.392/1.789, allocations: 22.55 MB / 0.7267 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/1.789, allocations: 4.094 kB / 0.7267 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03488/1.824, allocations: 6.789 MB / 0.7333 GB, free: 151.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004697/1.824, allocations: 188 kB / 0.7335 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00107/1.825, allocations: 223.5 kB / 0.7337 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002521/1.828, allocations: 146.5 kB / 0.7339 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001616/1.83, allocations: 268.2 kB / 0.7341 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006627/1.83, allocations: 199.9 kB / 0.7343 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009582/1.831, allocations: 457.9 kB / 0.7348 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.92e-07/1.831, allocations: 6.375 kB / 0.7348 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004186/1.836, allocations: 0.6847 MB / 0.7354 GB, free: 151.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * Number of discrete variables: 65 (breaker1.breaker_c.closed,breaker1.breaker_b.closed,breaker1.breaker_a.closed,breaker2.breaker_b.closed,breaker2.breaker_a.closed,breaker2.breaker_c.closed,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,breaker1.breaker_a.arc,breaker1.breaker_a.open,breaker1.breaker_a.t0,breaker1.breaker_a.opening,breaker1.breaker_b.arc,breaker1.breaker_b.open,breaker1.breaker_b.t0,breaker1.breaker_b.opening,breaker1.breaker_c.arc,breaker1.breaker_c.open,breaker1.breaker_c.t0,breaker1.breaker_c.opening,breaker2.breaker_a.arc,breaker2.breaker_a.open,breaker2.breaker_a.t0,breaker2.breaker_a.opening,breaker2.breaker_b.arc,breaker2.breaker_b.open,breaker2.breaker_b.t0,breaker2.breaker_b.opening,breaker2.breaker_c.arc,breaker2.breaker_c.open,breaker2.breaker_c.t0,breaker2.breaker_c.opening,relay1.y[1],relay1.y[2],relay1.y[3],relay1.cnt,relay2.y[1],relay2.y[2],relay2.y[3],relay2.cnt,system.initime) * Number of discrete states: 22 (breaker1.breaker_a.arc,breaker1.breaker_b.arc,breaker1.breaker_c.arc,breaker2.breaker_a.arc,breaker2.breaker_b.arc,breaker2.breaker_c.arc,relay2.y[3],relay2.y[2],relay2.y[1],relay2.cnt,$whenCondition2,relay1.y[3],relay1.y[2],relay1.y[1],relay1.cnt,$whenCondition1,breaker2.breaker_a.open,breaker2.breaker_c.open,breaker2.breaker_b.open,breaker1.breaker_b.open,breaker1.breaker_c.open,breaker1.breaker_a.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 106 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {12,9} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(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.03365/1.869, allocations: 7.771 MB / 0.743 GB, free: 150.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0138/1.883, allocations: 4.148 MB / 0.7471 GB, free: 149 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/1.883, allocations: 5.812 kB / 0.7471 GB, free: 149 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009521/1.893, allocations: 3.165 MB / 0.7502 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/1.895, allocations: 194.9 kB / 0.7503 GB, free: 147.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06012/1.955, allocations: 20.96 MB / 0.7708 GB, free: 136 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00122/1.956, allocations: 1.319 MB / 0.7721 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001282/1.958, allocations: 484 kB / 0.7726 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.833e-06/1.958, allocations: 0 / 0.7726 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.433/6.39, allocations: 51.58 MB / 0.8229 GB, free: 87.96 MB / 0.4948 GB (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_Tline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_Tline.fmu > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe 2>&1)