Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007986/0.0007986, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007926/0.0007926, allocations: 174 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.885/0.885, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2401/0.2401, allocations: 29.4 MB / 290.1 MB, free: 2.445 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Breaker,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Breaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Breaker,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Breaker",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.241e-05, allocations: 3.969 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.005275/0.005298, allocations: 5.88 MB / 436.1 MB, free: 7.688 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003677/0.008975, allocations: 1.99 MB / 438.1 MB, free: 5.691 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004985/0.009473, allocations: 19.81 kB / 438.1 MB, free: 5.672 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.01067, allocations: 0.5171 MB / 438.6 MB, free: 5.152 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.01171, allocations: 0.5166 MB / 439.1 MB, free: 4.633 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007041/0.01242, allocations: 379 kB / 439.5 MB, free: 4.262 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000938/0.01336, allocations: 1.095 MB / 440.6 MB, free: 3.164 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005621/0.01392, allocations: 428.4 kB / 441 MB, free: 2.734 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007328/0.01465, allocations: 0.6194 MB / 441.6 MB, free: 2.113 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008435/0.01549, allocations: 0.5105 MB / 442.1 MB, free: 1.602 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.0156, allocations: 87.98 kB / 442.2 MB, free: 1.516 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006213/0.01623, allocations: 0.5069 MB / 442.7 MB, free: 1.008 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002942/0.01652, allocations: 414.9 kB / 443.1 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002984/0.01682, allocations: 343.2 kB / 443.5 MB, free: 272 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1605/0.1774, allocations: 1.285 MB / 444.8 MB, free: 45.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1774, allocations: 1.406 kB / 444.8 MB, free: 45.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1774, allocations: 0.6875 kB / 444.8 MB, free: 45.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.315e-05/0.1774, allocations: 3.125 kB / 444.8 MB, free: 45.1 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.001628/0.179, allocations: 1.184 MB / 446 MB, free: 44.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.1791, allocations: 13.27 kB / 446 MB, free: 44.49 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.294e-05/0.1792, allocations: 129.9 kB / 446.1 MB, free: 44.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004921/0.1797, allocations: 178 kB / 446.3 MB, free: 44.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005687/0.1802, allocations: 0.5062 MB / 446.8 MB, free: 44.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.292e-05/0.1803, allocations: 64.88 kB / 446.8 MB, free: 44.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.1804, allocations: 81.09 kB / 446.9 MB, free: 44.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000971/0.1814, allocations: 1.122 MB / 448 MB, free: 43.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.1814, allocations: 6.188 kB / 448 MB, free: 43.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.693e-05/0.1814, allocations: 30.8 kB / 448.1 MB, free: 43.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.936e-05/0.1815, allocations: 54.83 kB / 448.1 MB, free: 43.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009404/0.1825, allocations: 0.9635 MB / 449.1 MB, free: 43.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002884/0.1854, allocations: 3.94 MB / 453 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007326/0.1861, allocations: 0.684 MB / 453.7 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003618/0.1864, allocations: 442.1 kB / 454.1 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.012e-05/0.1865, allocations: 13.66 kB / 454.2 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000552/0.187, allocations: 0.6725 MB / 454.8 MB, free: 41.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=92): time 2.274e-06/0.187, allocations: 0 / 454.8 MB, free: 41.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=93): time 0.003104/0.1901, allocations: 2.73 MB / 457.6 MB, free: 40.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.1902, allocations: 153.5 kB / 457.7 MB, free: 39.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003659/0.1906, allocations: 489.3 kB / 458.2 MB, free: 39.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/0.1906, allocations: 44.17 kB / 458.2 MB, free: 39.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.1908, allocations: 392.1 kB / 458.6 MB, free: 39.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.1909, allocations: 292.1 kB / 458.9 MB, free: 39.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.191, allocations: 185 kB / 459.1 MB, free: 38.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.223e-05/0.1911, allocations: 383.2 kB / 459.5 MB, free: 38.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003957/0.1915, allocations: 419.2 kB / 459.9 MB, free: 38.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000466/0.192, allocations: 0.6483 MB / 460.5 MB, free: 38.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008638/0.1928, allocations: 1.083 MB / 461.6 MB, free: 37.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.1928, allocations: 3.25 kB / 461.6 MB, free: 37.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001694/0.1945, allocations: 1.531 MB / 463.1 MB, free: 36.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/0.1946, allocations: 39.23 kB / 463.2 MB, free: 36.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00125/0.1958, allocations: 1.15 MB / 464.3 MB, free: 36.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007257/0.1965, allocations: 434.2 kB / 464.7 MB, free: 36.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.1968, allocations: 125.5 kB / 464.9 MB, free: 36.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00422/0.201, allocations: 4.98 MB / 469.8 MB, free: 33.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000402/0.2014, allocations: 57.95 kB / 469.9 MB, free: 33.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-05/0.2015, allocations: 45.08 kB / 469.9 MB, free: 33.56 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 46 (system.initime,relay.cnt,$PRE.relay.cnt,$whenCondition1,relay.y[3],$PRE.relay.y[3],relay.y[2],$PRE.relay.y[2],relay.y[1],$PRE.relay.y[1],breaker.breaker_c.opening,breaker.breaker_c.t0,$PRE.breaker.breaker_c.t0,breaker.breaker_c.closed,breaker.breaker_c.open,$PRE.breaker.breaker_c.open,breaker.breaker_c.arc,$PRE.breaker.breaker_c.arc,breaker.breaker_b.opening,breaker.breaker_b.t0,$PRE.breaker.breaker_b.t0,breaker.breaker_b.closed,breaker.breaker_b.open,$PRE.breaker.breaker_b.open,breaker.breaker_b.arc,$PRE.breaker.breaker_b.arc,breaker.breaker_a.opening,breaker.breaker_a.t0,$PRE.breaker.breaker_a.t0,breaker.breaker_a.closed,breaker.breaker_a.open,$PRE.breaker.breaker_a.open,breaker.breaker_a.arc,$PRE.breaker.breaker_a.arc,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0003688/0.2018, allocations: 353.4 kB / 470.3 MB, free: 33.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.369e-05/0.2019, allocations: 75.33 kB / 470.4 MB, free: 33.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/0.203, allocations: 1.166 MB / 471.5 MB, free: 32.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.203, allocations: 14.97 kB / 471.5 MB, free: 32.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.203, allocations: 7.938 kB / 471.6 MB, free: 32.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.203, allocations: 6.547 kB / 471.6 MB, free: 32.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/0.205, allocations: 2.059 MB / 473.6 MB, free: 31.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.205, allocations: 0 / 473.6 MB, free: 31.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003223/0.2054, allocations: 122.8 kB / 473.7 MB, free: 31.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001378/0.2055, allocations: 90.33 kB / 473.8 MB, free: 31.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.924e-05/0.2055, allocations: 22.17 kB / 473.9 MB, free: 31.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001615/0.2072, allocations: 3.898 MB / 477.7 MB, free: 27.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2072, allocations: 2.75 kB / 477.8 MB, free: 27.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/0.2088, allocations: 1.843 MB / 479.6 MB, free: 27.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.2089, allocations: 68.31 kB / 479.7 MB, free: 27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.221e-05/0.209, allocations: 32.48 kB / 479.7 MB, free: 26.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/0.2093, allocations: 47.92 kB / 479.7 MB, free: 26.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.2094, allocations: 87.53 kB / 479.8 MB, free: 26.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.042e-05/0.2094, allocations: 33.89 kB / 479.9 MB, free: 26.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002716/0.2097, allocations: 316.8 kB / 480.2 MB, free: 26.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2097, allocations: 0 / 480.2 MB, free: 26.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007946/0.2105, allocations: 259.1 kB / 480.4 MB, free: 26.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 33 (breaker.breaker_c.closed,breaker.breaker_a.closed,breaker.breaker_b.closed,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,breaker.breaker_a.arc,breaker.breaker_a.open,breaker.breaker_a.t0,breaker.breaker_a.opening,breaker.breaker_b.arc,breaker.breaker_b.open,breaker.breaker_b.t0,breaker.breaker_b.opening,breaker.breaker_c.arc,breaker.breaker_c.open,breaker.breaker_c.t0,breaker.breaker_c.opening,relay.y[1],relay.y[2],relay.y[3],relay.cnt,system.initime) * Number of discrete states: 11 (breaker.breaker_a.arc,breaker.breaker_b.arc,breaker.breaker_c.arc,relay.y[3],relay.y[2],relay.y[1],relay.cnt,$whenCondition1,breaker.breaker_b.open,breaker.breaker_a.open,breaker.breaker_c.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 72 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002017/0.2125, allocations: 2.45 MB / 482.9 MB, free: 25.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001948/0.2145, allocations: 1.367 MB / 484.2 MB, free: 24.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2145, allocations: 0.6875 kB / 484.2 MB, free: 24.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007614/0.2152, allocations: 0.9188 MB / 485.2 MB, free: 24.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005358/0.2158, allocations: 129 kB / 485.3 MB, free: 24.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009625/0.2254, allocations: 7.817 MB / 493.1 MB, free: 20.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/0.2258, allocations: 448.5 kB / 493.5 MB, free: 19.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004155/0.2263, allocations: 198.7 kB / 493.7 MB, free: 19.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002849/0.2265, allocations: 292.6 kB / 494 MB, free: 19.65 MB / 410.7 MB Notification: Performance of SimCode: time 1.873e-06/0.2265, allocations: 0 / 494 MB, free: 19.65 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03827/0.2648, allocations: 19.64 MB / 0.5016 GB, free: 13.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.279/8.544, allocations: 18.12 kB / 0.5016 GB, free: 13.69 MB / 410.7 MB " [Timeout remaining time 651] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Breaker_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Breaker.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.411630764603615] Failed to read output from testmodel.py, exit status != 0: 8.642597263678908 8.650029191 8.47102095 Calling exit ...