Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.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.0008055/0.0008055, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004684/0.004684, allocations: 161.5 kB / 24.7 MB, free: 9.418 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.8988/0.8988, allocations: 177.1 MB / 205 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.2173/0.2173, allocations: 29.41 MB / 290.8 MB, free: 2.402 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: translateModel(PowerSystems.Examples.Introductory.SimulationFixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial") translateModel(PowerSystems.Examples.Introductory.SimulationFixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.487e-06/3.487e-06, allocations: 0 / 431.4 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.174e-05/3.523e-05, allocations: 4.109 kB / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.007189/0.007224, allocations: 7.103 MB / 438.6 MB, free: 5.965 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003309/0.01053, allocations: 2.235 MB / 440.8 MB, free: 3.723 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004392/0.01097, allocations: 35.69 kB / 440.8 MB, free: 3.688 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.01225, allocations: 0.8282 MB / 441.7 MB, free: 2.855 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009473/0.0132, allocations: 0.532 MB / 442.2 MB, free: 2.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009908/0.01419, allocations: 474.6 kB / 442.6 MB, free: 1.855 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001508/0.0157, allocations: 1.348 MB / 444 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1888/0.2045, allocations: 0.5165 MB / 444.5 MB, free: 44.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/0.206, allocations: 0.7784 MB / 445.3 MB, free: 44.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008/0.2068, allocations: 0.6442 MB / 445.9 MB, free: 44.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001149/0.2069, allocations: 81.16 kB / 446 MB, free: 44.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005127/0.2074, allocations: 283.6 kB / 446.3 MB, free: 44.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003193/0.2077, allocations: 0.5354 MB / 446.8 MB, free: 44.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002817/0.208, allocations: 391 kB / 447.2 MB, free: 44.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009752/0.209, allocations: 1.36 MB / 448.6 MB, free: 44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.209, allocations: 3.281 kB / 448.6 MB, free: 44 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.209, allocations: 0 / 448.6 MB, free: 44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.993e-05/0.209, allocations: 0 / 448.6 MB, free: 44 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.001485/0.2105, allocations: 1.278 MB / 449.9 MB, free: 43.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.2105, allocations: 13.95 kB / 449.9 MB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006315/0.2112, allocations: 210.5 kB / 450.1 MB, free: 43.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007697/0.2119, allocations: 0.6726 MB / 450.7 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.225e-05/0.212, allocations: 65.06 kB / 450.8 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.2121, allocations: 104.2 kB / 450.9 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.2132, allocations: 1.255 MB / 452.2 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/0.2132, allocations: 5.969 kB / 452.2 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.114e-05/0.2133, allocations: 41.47 kB / 452.2 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001308/0.2134, allocations: 62.52 kB / 452.3 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009317/0.2143, allocations: 1.037 MB / 453.3 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003241/0.2176, allocations: 4.293 MB / 457.6 MB, free: 40.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006991/0.2183, allocations: 0.6465 MB / 458.2 MB, free: 39.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003513/0.2186, allocations: 442 kB / 458.7 MB, free: 39.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.009e-05/0.2187, allocations: 6.844 kB / 458.7 MB, free: 39.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004595/0.2191, allocations: 0.5435 MB / 459.2 MB, free: 39.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 3.336e-06/0.2191, allocations: 0 / 459.2 MB, free: 39.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=73): time 0.002917/0.2221, allocations: 2.812 MB / 462 MB, free: 38.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.2221, allocations: 176.9 kB / 462.2 MB, free: 37.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004068/0.2225, allocations: 0.5773 MB / 462.8 MB, free: 37.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.2225, allocations: 40.83 kB / 462.8 MB, free: 37.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.2227, allocations: 488.3 kB / 463.3 MB, free: 37.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.2229, allocations: 263.2 kB / 463.6 MB, free: 36.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.223, allocations: 178.1 kB / 463.7 MB, free: 36.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.719e-05/0.2231, allocations: 388 kB / 464.1 MB, free: 36.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/0.2234, allocations: 396.4 kB / 464.5 MB, free: 36.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004168/0.2238, allocations: 0.6606 MB / 465.2 MB, free: 35.89 MB / 410.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[1] = lineR.i_start[1] (lineL.i_start[1] - lineB.i_start[1] = lineR.i_start[1]) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[2] = lineR.i_start[2] (lineL.i_start[2] - lineB.i_start[2] = lineR.i_start[2]) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[3] = lineR.i_start[3] (lineL.i_start[3] - lineB.i_start[3] = lineR.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.003583/0.2274, allocations: 3.218 MB / 468.4 MB, free: 34.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/0.2274, allocations: 3.312 kB / 468.4 MB, free: 34.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001275/0.2287, allocations: 1.369 MB / 469.8 MB, free: 34.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.58e-05/0.2287, allocations: 34.7 kB / 469.8 MB, free: 34.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.2287, allocations: 8.562 kB / 469.8 MB, free: 34.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003698/0.2291, allocations: 249.6 kB / 470 MB, free: 34.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000549/0.2297, allocations: 262.4 kB / 470.3 MB, free: 34.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002696/0.2324, allocations: 5.658 MB / 476 MB, free: 29.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004147/0.2328, allocations: 34.17 kB / 476 MB, free: 29.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/0.2328, allocations: 41.62 kB / 476 MB, free: 29.41 MB / 410.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: lineR.i[1] = lineR.i_start[1] lineR.i[2] = lineR.i_start[2] lineR.i[3] = lineR.i_start[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,relayNet.cnt,$PRE.relayNet.cnt,$whenCondition1,$PRE.switch.t0,$PRE.switch.closed,$PRE.switch.open,relayNet.y[1],$PRE.relayNet.y[1],switch.closed,switch.open,switch.t0,switch.control[1],$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 94 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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,7,100.0%), (1,7,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004714/0.2333, allocations: 384.5 kB / 476.4 MB, free: 29.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.887e-05/0.2334, allocations: 83.3 kB / 476.5 MB, free: 29.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.2345, allocations: 1.162 MB / 477.6 MB, free: 28.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.2346, allocations: 12.91 kB / 477.7 MB, free: 28.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.2346, allocations: 3 kB / 477.7 MB, free: 28.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.2346, allocations: 7.328 kB / 477.7 MB, free: 28.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001985/0.2366, allocations: 2.051 MB / 479.7 MB, free: 27.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.2366, allocations: 6.547 kB / 479.7 MB, free: 27.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004483/0.237, allocations: 187 kB / 479.9 MB, free: 27.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003624/0.2374, allocations: 247.1 kB / 480.2 MB, free: 27.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.503e-05/0.2374, allocations: 24.34 kB / 480.2 MB, free: 27.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002508/0.2399, allocations: 5.576 MB / 485.8 MB, free: 23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.2399, allocations: 6.125 kB / 485.8 MB, free: 22.99 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.2416, allocations: 1.707 MB / 487.5 MB, free: 22.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.2417, allocations: 69.3 kB / 487.5 MB, free: 22.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.852e-05/0.2418, allocations: 22.41 kB / 487.6 MB, free: 22.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.242, allocations: 32.38 kB / 487.6 MB, free: 22.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.2421, allocations: 58.41 kB / 487.6 MB, free: 22.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.575e-05/0.2422, allocations: 27.2 kB / 487.7 MB, free: 22.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003213/0.2425, allocations: 395.1 kB / 488.1 MB, free: 21.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2425, allocations: 0 / 488.1 MB, free: 21.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008567/0.2433, allocations: 275.2 kB / 488.3 MB, free: 21.89 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (lineL.i[1],lineL.i[2],lineL.i[3],lineB.i[1],lineB.i[2],lineB.i[3]) * Number of discrete variables: 9 (switch.control[1],$whenCondition2,$whenCondition1,switch.t0,switch.open,switch.closed,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 5 (relayNet.y[1],relayNet.cnt,$whenCondition1,switch.open,switch.closed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 48 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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,7,100.0%), (1,7,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001814/0.2435, allocations: 138.1 kB / 488.5 MB, free: 21.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00141/0.2449, allocations: 1.412 MB / 489.9 MB, free: 21.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2449, allocations: 1.312 kB / 489.9 MB, free: 21.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000782/0.2457, allocations: 0.9074 MB / 490.8 MB, free: 20.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000582/0.2463, allocations: 192.8 kB / 491 MB, free: 20.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.2486, allocations: 2.162 MB / 493.1 MB, free: 19.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.249, allocations: 0.5225 MB / 493.7 MB, free: 19.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.2492, allocations: 64.47 kB / 493.7 MB, free: 19.11 MB / 410.7 MB Notification: Performance of SimCode: time 1.563e-06/0.2492, allocations: 0 / 493.7 MB, free: 19.11 MB / 410.7 MB Notification: Performance of Templates: time 0.02252/0.2717, allocations: 21.64 MB / 0.5033 GB, free: 12.1 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.sim & ./PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.128248896449804] Failed to read output from testmodel.py, exit status != 0: 0.27872714307159185 0.28382707700000004 0.072968689 Calling exit ...