Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.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.0008236/0.0008236, 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.0009198/0.0009198, allocations: 174 kB / 23.95 MB, free: 0.6055 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.8791/0.8791, allocations: 177.1 MB / 204.3 MB, free: 5.707 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.2272/0.2272, allocations: 29.4 MB / 290.1 MB, free: 2.441 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.Introductory.SimulationSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_SimulationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_SimulationSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13e-05/1.241e-05, allocations: 7.828 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.005325/0.005337, allocations: 7.115 MB / 437.3 MB, free: 6.438 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002507/0.007844, allocations: 2.235 MB / 439.6 MB, free: 4.195 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002766/0.00812, allocations: 35.69 kB / 439.6 MB, free: 4.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.009236, allocations: 0.8282 MB / 440.4 MB, free: 3.328 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006939/0.00993, allocations: 0.5281 MB / 441 MB, free: 2.797 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.01105, allocations: 478.6 kB / 441.4 MB, free: 2.328 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001294/0.01235, allocations: 1.301 MB / 442.7 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005915/0.01294, allocations: 0.5058 MB / 443.2 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.167/0.1799, allocations: 0.7457 MB / 444 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009126/0.1808, allocations: 0.6239 MB / 444.6 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.519e-05/0.1809, allocations: 74.25 kB / 444.7 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004026/0.1813, allocations: 233.6 kB / 444.9 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002982/0.1816, allocations: 0.514 MB / 445.4 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002614/0.1819, allocations: 370.5 kB / 445.8 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000903/0.1828, allocations: 1.259 MB / 447 MB, free: 43.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1828, allocations: 0.5 kB / 447 MB, free: 43.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1828, allocations: 0 / 447 MB, free: 43.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.1828, allocations: 3.875 kB / 447 MB, free: 43.91 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001347/0.1841, allocations: 1.253 MB / 448.3 MB, free: 43.24 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.1842, allocations: 16.95 kB / 448.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.872e-05/0.1843, allocations: 142.9 kB / 448.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005939/0.1849, allocations: 198.8 kB / 448.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007649/0.1856, allocations: 0.6508 MB / 449.3 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.408e-05/0.1857, allocations: 64.39 kB / 449.4 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.854e-05/0.1858, allocations: 84.69 kB / 449.4 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009957/0.1868, allocations: 1.208 MB / 450.6 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.1868, allocations: 5.828 kB / 450.7 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.937e-05/0.1868, allocations: 40.34 kB / 450.7 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.198e-05/0.1869, allocations: 59.08 kB / 450.7 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009277/0.1878, allocations: 0.9525 MB / 451.7 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00293/0.1907, allocations: 4.452 MB / 456.2 MB, free: 39.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006891/0.1914, allocations: 0.6478 MB / 456.8 MB, free: 39.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002902/0.1917, allocations: 375.7 kB / 457.2 MB, free: 39.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/0.1918, allocations: 14.84 kB / 457.2 MB, free: 39.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003589/0.1921, allocations: 469.9 kB / 457.6 MB, free: 39.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=65): time 2.225e-06/0.1921, allocations: 2.906 kB / 457.6 MB, free: 39.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=66): time 0.003006/0.1951, allocations: 2.387 MB / 460 MB, free: 38.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.1952, allocations: 167.9 kB / 460.2 MB, free: 38.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005007/0.1957, allocations: 0.6171 MB / 460.8 MB, free: 37.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.1957, allocations: 40.73 kB / 460.9 MB, free: 37.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/0.1959, allocations: 493.8 kB / 461.3 MB, free: 37.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.1961, allocations: 226.9 kB / 461.6 MB, free: 37.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.1962, allocations: 153.8 kB / 461.7 MB, free: 37.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.464e-05/0.1963, allocations: 387 kB / 462.1 MB, free: 36.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/0.1965, allocations: 313.1 kB / 462.4 MB, free: 36.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003497/0.1969, allocations: 0.5827 MB / 463 MB, free: 36.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007032/0.1976, allocations: 0.957 MB / 463.9 MB, free: 35.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.1976, allocations: 6.719 kB / 463.9 MB, free: 35.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001213/0.1988, allocations: 1.247 MB / 465.2 MB, free: 35.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.347e-05/0.1989, allocations: 35.83 kB / 465.2 MB, free: 35.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.1989, allocations: 8.812 kB / 465.2 MB, free: 35.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006437/0.1995, allocations: 335.7 kB / 465.6 MB, free: 34.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/0.1998, allocations: 150.4 kB / 465.7 MB, free: 34.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003337/0.2031, allocations: 5.025 MB / 470.7 MB, free: 31.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003625/0.2035, allocations: 27.97 kB / 470.8 MB, free: 31.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-05/0.2035, allocations: 46.41 kB / 470.8 MB, free: 31.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,relayNet.cnt,$PRE.relayNet.cnt,$whenCondition1,relayNet.y[1],$PRE.relayNet.y[1],switch.closed,$PRE.switch.closed,switch.open,$PRE.switch.open,switch.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 79 * 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 {(3,17,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003525/0.2039, allocations: 358.4 kB / 471.1 MB, free: 31.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.81e-05/0.2039, allocations: 79.27 kB / 471.2 MB, free: 31.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.205, allocations: 1.068 MB / 472.3 MB, free: 30.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.205, allocations: 9.594 kB / 472.3 MB, free: 30.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.205, allocations: 7.516 kB / 472.3 MB, free: 30.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.205, allocations: 3.422 kB / 472.3 MB, free: 30.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001916/0.207, allocations: 1.987 MB / 474.3 MB, free: 29.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.207, allocations: 5.141 kB / 474.3 MB, free: 29.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.2071, allocations: 71.48 kB / 474.4 MB, free: 29.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004827/0.2076, allocations: 313.1 kB / 474.7 MB, free: 29.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/0.2077, allocations: 17.41 kB / 474.7 MB, free: 29.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003003/0.2107, allocations: 4.948 MB / 479.6 MB, free: 26.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.2107, allocations: 6.219 kB / 479.7 MB, free: 26.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.2118, allocations: 1.149 MB / 480.8 MB, free: 25.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.2119, allocations: 68.47 kB / 480.9 MB, free: 25.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.097e-05/0.2119, allocations: 25.95 kB / 480.9 MB, free: 25.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.2121, allocations: 19.12 kB / 480.9 MB, free: 25.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.2122, allocations: 59.06 kB / 481 MB, free: 25.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.2122, allocations: 29.77 kB / 481 MB, free: 25.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003334/0.2126, allocations: 417.5 kB / 481.4 MB, free: 25.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2126, allocations: 0 / 481.4 MB, free: 25.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007029/0.2133, allocations: 269.1 kB / 481.7 MB, free: 25.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (switch.open,switch.control[1],switch.closed,$whenCondition1,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 3 (relayNet.y[1],relayNet.cnt,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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 {(3,17,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00112/0.2144, allocations: 1.7 MB / 483.4 MB, free: 24.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.2156, allocations: 1.179 MB / 484.6 MB, free: 23.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.2156, allocations: 0 / 484.6 MB, free: 23.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006438/0.2163, allocations: 0.7627 MB / 485.3 MB, free: 23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005979/0.2169, allocations: 190 kB / 485.5 MB, free: 22.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007266/0.2241, allocations: 7.435 MB / 492.9 MB, free: 18.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004386/0.2246, allocations: 0.4962 MB / 493.4 MB, free: 18.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003966/0.225, allocations: 178.5 kB / 493.6 MB, free: 18.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/0.2252, allocations: 327.2 kB / 493.9 MB, free: 18.48 MB / 410.7 MB Notification: Performance of SimCode: time 1.272e-06/0.2252, allocations: 2.203 kB / 493.9 MB, free: 18.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03611/0.2613, allocations: 19.89 MB / 0.5018 GB, free: 12.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.086/7.348, allocations: 11.38 kB / 0.5018 GB, free: 12.83 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_SimulationSteadyState_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_SimulationSteadyState.fmu > PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.19054329302162] Failed to read output from testmodel.py, exit status != 0: 7.437812904827297 7.444600038 7.25998128 Calling exit ...