Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.0008773/0.0008773, allocations: 83.69 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.0008964/0.0008964, allocations: 170 kB / 23.95 MB, free: 0.6172 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.8819/0.8819, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.2191/0.2191, allocations: 29.41 MB / 290.1 MB, free: 2.453 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.AC1ph_DC.Elementary.Breaker,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Breaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Breaker",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.298e-05, allocations: 4.109 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.005055/0.005078, allocations: 5.102 MB / 435.3 MB, free: 8.473 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.006661, allocations: 1.133 MB / 436.4 MB, free: 7.336 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001937/0.006855, allocations: 23.81 kB / 436.5 MB, free: 7.312 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.007141, allocations: 95.17 kB / 436.6 MB, free: 7.219 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000473/0.007614, allocations: 326 kB / 436.9 MB, free: 6.898 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002058/0.007819, allocations: 151.7 kB / 437 MB, free: 6.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004568/0.008276, allocations: 0.7396 MB / 437.8 MB, free: 6.008 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.008457, allocations: 133.2 kB / 437.9 MB, free: 5.871 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003747/0.008831, allocations: 442.6 kB / 438.3 MB, free: 5.438 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003242/0.009155, allocations: 331.1 kB / 438.7 MB, free: 5.113 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.38e-05/0.009199, allocations: 44 kB / 438.7 MB, free: 5.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.764e-05/0.009247, allocations: 40 kB / 438.7 MB, free: 5.031 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.009389, allocations: 227.3 kB / 439 MB, free: 4.809 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.009513, allocations: 179.6 kB / 439.1 MB, free: 4.633 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000384/0.009897, allocations: 0.5529 MB / 439.7 MB, free: 4.078 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.009899, allocations: 7.938 kB / 439.7 MB, free: 4.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.009901, allocations: 0 / 439.7 MB, free: 4.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.009906, allocations: 0 / 439.7 MB, free: 4.07 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.000908/0.01081, allocations: 0.7666 MB / 440.5 MB, free: 3.262 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.01085, allocations: 8.031 kB / 440.5 MB, free: 3.254 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.726e-05/0.0109, allocations: 82.7 kB / 440.6 MB, free: 3.164 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.975e-05/0.01096, allocations: 56.61 kB / 440.6 MB, free: 3.109 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004038/0.01137, allocations: 380.8 kB / 441 MB, free: 2.715 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.01139, allocations: 29.38 kB / 441 MB, free: 2.688 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.084e-05/0.01143, allocations: 36.38 kB / 441 MB, free: 2.652 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004755/0.01191, allocations: 0.5118 MB / 441.6 MB, free: 2.098 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.01192, allocations: 4 kB / 441.6 MB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.01194, allocations: 12 kB / 441.6 MB, free: 2.082 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.446e-05/0.012, allocations: 32.62 kB / 441.6 MB, free: 2.051 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003861/0.01239, allocations: 396.3 kB / 442 MB, free: 1.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.01388, allocations: 1.571 MB / 443.6 MB, free: 12 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1584/0.1722, allocations: 336.8 kB / 443.9 MB, free: 54.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002941/0.1725, allocations: 262.7 kB / 444.1 MB, free: 54.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.1726, allocations: 3.062 kB / 444.1 MB, free: 54.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002667/0.1728, allocations: 309.2 kB / 444.5 MB, free: 54.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.643e-06/0.1728, allocations: 2.656 kB / 444.5 MB, free: 54.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.00138/0.1742, allocations: 1.272 MB / 445.7 MB, free: 54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.1742, allocations: 145.5 kB / 445.9 MB, free: 53.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.1745, allocations: 379.5 kB / 446.2 MB, free: 53.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.1745, allocations: 40.42 kB / 446.3 MB, free: 53.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.708e-05/0.1746, allocations: 256.7 kB / 446.5 MB, free: 53.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/0.1746, allocations: 116 kB / 446.6 MB, free: 53.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-05/0.1747, allocations: 81.14 kB / 446.7 MB, free: 53.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.985e-05/0.1747, allocations: 350.1 kB / 447.1 MB, free: 52.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.1749, allocations: 160.7 kB / 447.2 MB, free: 52.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.175, allocations: 290.9 kB / 447.5 MB, free: 52.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.1753, allocations: 447.9 kB / 447.9 MB, free: 52.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.1753, allocations: 0 / 447.9 MB, free: 52.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00045/0.1757, allocations: 0.5717 MB / 448.5 MB, free: 52.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.1758, allocations: 32.2 kB / 448.5 MB, free: 52.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1758, allocations: 9.875 kB / 448.6 MB, free: 52.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001732/0.1759, allocations: 79.59 kB / 448.6 MB, free: 52.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.1761, allocations: 74.98 kB / 448.7 MB, free: 52.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009139/0.177, allocations: 2.781 MB / 451.5 MB, free: 49.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.1771, allocations: 25 kB / 451.5 MB, free: 49.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.1772, allocations: 23.78 kB / 451.5 MB, free: 49.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 18 (system.initime,breaker.breaker_1.opening,breaker.breaker_1.t0,$PRE.breaker.breaker_1.t0,breaker.breaker_1.closed,breaker.breaker_1.open,$PRE.breaker.breaker_1.open,breaker.breaker_1.arc,$PRE.breaker.breaker_1.arc,relay.y[1],$PRE.relay.y[1],$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,relay.cnt,$PRE.relay.cnt,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000142/0.1773, allocations: 242.4 kB / 451.8 MB, free: 49.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.1773, allocations: 47.03 kB / 451.8 MB, free: 49.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004547/0.1778, allocations: 0.5276 MB / 452.3 MB, free: 48.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1778, allocations: 3.281 kB / 452.3 MB, free: 48.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.1778, allocations: 3.25 kB / 452.3 MB, free: 48.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.1778, allocations: 5.438 kB / 452.4 MB, free: 48.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007625/0.1786, allocations: 1.02 MB / 453.4 MB, free: 48.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1786, allocations: 4.625 kB / 453.4 MB, free: 48.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.653e-05/0.1787, allocations: 43.67 kB / 453.4 MB, free: 48.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001286/0.1788, allocations: 86.61 kB / 453.5 MB, free: 48.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.1788, allocations: 20 kB / 453.5 MB, free: 48.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008/0.1796, allocations: 2.791 MB / 456.3 MB, free: 45.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1796, allocations: 3.188 kB / 456.3 MB, free: 45.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005814/0.1802, allocations: 0.8457 MB / 457.2 MB, free: 45.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.155e-05/0.1802, allocations: 36.2 kB / 457.2 MB, free: 45.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.1803, allocations: 15.05 kB / 457.2 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.1804, allocations: 16.78 kB / 457.2 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.982e-05/0.1804, allocations: 42.84 kB / 457.3 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.1805, allocations: 16.14 kB / 457.3 MB, free: 45.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001278/0.1806, allocations: 262.1 kB / 457.5 MB, free: 45.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1806, allocations: 0 / 457.5 MB, free: 45.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002744/0.1809, allocations: 116.8 kB / 457.7 MB, free: 45 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * Number of discrete variables: 13 (breaker.breaker_1.closed,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,relay.y[1],relay.cnt,breaker.breaker_1.arc,breaker.breaker_1.open,breaker.breaker_1.t0,breaker.breaker_1.opening,system.initime) * Number of discrete states: 5 (breaker.breaker_1.arc,relay.y[1],relay.cnt,$whenCondition1,breaker.breaker_1.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0006932/0.1815, allocations: 1.401 MB / 459.1 MB, free: 43.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004778/0.182, allocations: 0.6836 MB / 459.7 MB, free: 43.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.182, allocations: 0 / 459.7 MB, free: 43.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002885/0.1823, allocations: 0.5018 MB / 460.2 MB, free: 43.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.1827, allocations: 99.8 kB / 460.3 MB, free: 43.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/0.1853, allocations: 4.2 MB / 464.5 MB, free: 40.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.1855, allocations: 268.2 kB / 464.8 MB, free: 40.35 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001249/0.1856, allocations: 80.42 kB / 464.9 MB, free: 40.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.1857, allocations: 156.6 kB / 465 MB, free: 40.22 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1857, allocations: 0 / 465 MB, free: 40.22 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.2085, allocations: 10.63 MB / 475.7 MB, free: 38.58 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.912/7.121, allocations: 6.969 kB / 475.7 MB, free: 38.57 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Breaker_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Breaker.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.939028890803456] Failed to read output from testmodel.py, exit status != 0: 7.209165206179023 7.220204611 7.20861922 Calling exit ...