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.001469/0.001469, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001478/0.001478, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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 1.534/1.534, allocations: 177.2 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.2017/0.2017, allocations: 29.43 MB / 290.1 MB, free: 3.27 MB / 270.1 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 2.084e-06/2.084e-06, allocations: 0 / 430.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.718e-05/2.927e-05, allocations: 5.234 kB / 430.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.009103/0.009133, allocations: 7.099 MB / 437.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004492/0.01362, allocations: 2.231 MB / 440 MB, free: 8.578 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000381/0.01401, allocations: 35.69 kB / 440.1 MB, free: 8.543 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002335/0.01634, allocations: 0.8353 MB / 440.9 MB, free: 7.707 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.01763, allocations: 0.5281 MB / 441.4 MB, free: 7.176 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001596/0.01922, allocations: 474.6 kB / 441.9 MB, free: 6.711 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00205/0.02127, allocations: 1.347 MB / 443.2 MB, free: 5.359 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009717/0.02224, allocations: 0.5214 MB / 443.8 MB, free: 4.828 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001278/0.02352, allocations: 0.7672 MB / 444.5 MB, free: 4.059 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00109/0.02461, allocations: 0.6584 MB / 445.2 MB, free: 3.398 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001498/0.02476, allocations: 84 kB / 445.3 MB, free: 3.316 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006587/0.02542, allocations: 275.5 kB / 445.5 MB, free: 3.047 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005559/0.02598, allocations: 0.5377 MB / 446.1 MB, free: 2.508 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000523/0.0265, allocations: 387.1 kB / 446.5 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001769/0.02827, allocations: 1.363 MB / 447.8 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.02827, allocations: 4 kB / 447.8 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.02828, allocations: 0 / 447.8 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.469e-05/0.02829, allocations: 0 / 447.8 MB, free: 0.7578 MB / 366.1 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.228/0.2563, allocations: 1.281 MB / 449.1 MB, free: 30.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.2563, allocations: 14.14 kB / 449.1 MB, free: 30.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.2576, allocations: 208 kB / 449.3 MB, free: 30.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.2589, allocations: 0.672 MB / 450 MB, free: 30.24 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.477e-05/0.259, allocations: 63.3 kB / 450.1 MB, free: 30.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002361/0.2592, allocations: 105.5 kB / 450.2 MB, free: 30.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/0.261, allocations: 1.253 MB / 451.4 MB, free: 29.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.284e-05/0.261, allocations: 6.703 kB / 451.4 MB, free: 29.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.699e-05/0.2611, allocations: 37.5 kB / 451.5 MB, free: 29.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000277/0.2614, allocations: 61.67 kB / 451.5 MB, free: 29.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001633/0.263, allocations: 1.04 MB / 452.6 MB, free: 29.19 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005422/0.2685, allocations: 4.291 MB / 456.8 MB, free: 26.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.2695, allocations: 0.6583 MB / 457.5 MB, free: 26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006306/0.2702, allocations: 446.6 kB / 457.9 MB, free: 25.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.995e-05/0.2702, allocations: 8.75 kB / 457.9 MB, free: 25.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007892/0.271, allocations: 0.5313 MB / 458.5 MB, free: 25.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=69): time 2.635e-06/0.271, allocations: 0 / 458.5 MB, free: 25.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.005162/0.2762, allocations: 2.816 MB / 461.3 MB, free: 24.13 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.816e-05/0.2762, allocations: 167.4 kB / 461.5 MB, free: 23.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006674/0.2769, allocations: 0.5821 MB / 462 MB, free: 23.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.167e-05/0.277, allocations: 38.95 kB / 462.1 MB, free: 23.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003062/0.2773, allocations: 491 kB / 462.6 MB, free: 23.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/0.2775, allocations: 264.1 kB / 462.8 MB, free: 23.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002497/0.2777, allocations: 167.9 kB / 463 MB, free: 22.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2778, allocations: 393.7 kB / 463.4 MB, free: 22.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006753/0.2785, allocations: 403.1 kB / 463.8 MB, free: 22.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007419/0.2792, allocations: 0.6632 MB / 464.4 MB, free: 22 MB / 366.1 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.00754/0.2868, allocations: 3.222 MB / 467.6 MB, free: 20.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-05/0.2868, allocations: 2.125 kB / 467.6 MB, free: 20.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002668/0.2895, allocations: 1.364 MB / 469 MB, free: 20.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.789e-05/0.2895, allocations: 35.19 kB / 469 MB, free: 20.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/0.2895, allocations: 12.78 kB / 469.1 MB, free: 20.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007669/0.2903, allocations: 256.7 kB / 469.3 MB, free: 20.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.2915, allocations: 263.1 kB / 469.6 MB, free: 20.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004774/0.2963, allocations: 5.658 MB / 475.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000851/0.2971, allocations: 40.22 kB / 475.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.869e-05/0.2972, allocations: 35.09 kB / 475.3 MB, free: 15.29 MB / 366.1 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.0006062/0.2978, allocations: 384.2 kB / 475.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.2979, allocations: 75.84 kB / 475.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002079/0.3, allocations: 1.169 MB / 476.9 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.346e-05/0.3, allocations: 8.25 kB / 476.9 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.3, allocations: 9.25 kB / 476.9 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.3001, allocations: 5.359 kB / 476.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003303/0.3034, allocations: 2.046 MB / 479 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.3034, allocations: 4 kB / 479 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009479/0.3043, allocations: 179.8 kB / 479.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006843/0.305, allocations: 246.7 kB / 479.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-05/0.3051, allocations: 31.91 kB / 479.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004176/0.3092, allocations: 5.588 MB / 485 MB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.3092, allocations: 4.031 kB / 485 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002297/0.3115, allocations: 1.698 MB / 486.7 MB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002492/0.3118, allocations: 79.53 kB / 486.8 MB, free: 4.664 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.3119, allocations: 27.94 kB / 486.8 MB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004704/0.3124, allocations: 27.97 kB / 486.9 MB, free: 4.609 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002286/0.3126, allocations: 60.48 kB / 486.9 MB, free: 4.551 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.964e-05/0.3127, allocations: 20 kB / 486.9 MB, free: 4.531 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005705/0.3132, allocations: 401 kB / 487.3 MB, free: 4.148 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3132, allocations: 0 / 487.3 MB, free: 4.148 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001392/0.3146, allocations: 272 kB / 487.6 MB, free: 3.883 MB / 366.1 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.0002279/0.3149, allocations: 127.1 kB / 487.7 MB, free: 3.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001955/0.3168, allocations: 1.407 MB / 489.1 MB, free: 2.281 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3168, allocations: 0 / 489.1 MB, free: 2.281 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.318, allocations: 0.927 MB / 490 MB, free: 1.305 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009297/0.3189, allocations: 180.8 kB / 490.2 MB, free: 1.133 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003606/0.3225, allocations: 2.072 MB / 492.3 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006966/0.3232, allocations: 0.5204 MB / 492.8 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000637/0.3238, allocations: 206.3 kB / 493 MB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.324, allocations: 60.48 kB / 493.1 MB, free: 14.21 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.324, allocations: 0 / 493.1 MB, free: 14.21 MB / 382.1 MB Notification: Performance of Templates: time 0.02519/0.3492, allocations: 11.3 MB / 0.4926 GB, free: 3.082 MB / 382.1 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: 5.3680532574653625] Failed to read output from testmodel.py, exit status != 0: 0.3589824065566063 0.37514072000000004 0.34345758400000004 Calling exit ...