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.001021/0.001021, allocations: 75.77 kB / 21.18 MB, free: 3.383 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.00113/0.00113, allocations: 165 kB / 24.56 MB, free: 8 kB / 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 1.066/1.066, allocations: 177.1 MB / 205 MB, free: 5.586 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.22/0.22, allocations: 29.41 MB / 290.9 MB, free: 2.5 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.346e-06/3.346e-06, allocations: 3.984 kB / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.34e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.007441/0.007464, allocations: 6.41 MB / 376 MB, free: 4.555 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003086/0.01055, allocations: 2.321 MB / 378.4 MB, free: 2.227 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003188/0.01087, allocations: 35.69 kB / 378.4 MB, free: 2.191 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005646/0.01143, allocations: 314 kB / 378.7 MB, free: 1.883 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007372/0.01217, allocations: 0.5165 MB / 379.2 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008909/0.01306, allocations: 478.6 kB / 379.7 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001122/0.01418, allocations: 1.347 MB / 381 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005992/0.01478, allocations: 0.5174 MB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009531/0.01574, allocations: 0.8611 MB / 382.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006308/0.01637, allocations: 0.5921 MB / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001469/0.01651, allocations: 80 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007119/0.01723, allocations: 275.5 kB / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003419/0.01757, allocations: 0.5416 MB / 383.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003202/0.01789, allocations: 391.1 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009307/0.01882, allocations: 0.985 MB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.01882, allocations: 0 / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.01882, allocations: 0 / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.013e-05/0.01884, allocations: 0 / 385.3 MB, free: 11.3 MB / 362.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.001434/0.02027, allocations: 1.385 MB / 386.6 MB, free: 9.867 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.02031, allocations: 11.98 kB / 386.7 MB, free: 9.855 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007269/0.02104, allocations: 300 kB / 386.9 MB, free: 9.562 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006652/0.0217, allocations: 0.6478 MB / 387.6 MB, free: 8.891 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.381e-05/0.02175, allocations: 62.38 kB / 387.7 MB, free: 8.828 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.02189, allocations: 108.8 kB / 387.8 MB, free: 8.723 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009101/0.0228, allocations: 0.905 MB / 388.7 MB, free: 7.715 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.02282, allocations: 4 kB / 388.7 MB, free: 7.711 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.643e-05/0.02288, allocations: 32 kB / 388.7 MB, free: 7.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001286/0.02301, allocations: 65.95 kB / 388.8 MB, free: 7.613 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006596/0.02367, allocations: 493 kB / 389.3 MB, free: 7.125 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003514/0.02718, allocations: 4.808 MB / 394.1 MB, free: 2.117 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005167/0.0277, allocations: 442.1 kB / 394.5 MB, free: 1.652 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/0.02798, allocations: 259.6 kB / 394.7 MB, free: 1.387 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.02801, allocations: 8.656 kB / 394.8 MB, free: 1.379 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003744/0.02838, allocations: 409.6 kB / 395.2 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of pre-optimization done (n=69): time 1.443e-06/0.02838, allocations: 4 kB / 395.2 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of matching and sorting (n=73): time 0.002216/0.0306, allocations: 1.983 MB / 397.1 MB, free: 14.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003972/0.031, allocations: 171.1 kB / 397.3 MB, free: 14.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004193/0.03142, allocations: 0.5931 MB / 397.9 MB, free: 14.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.03146, allocations: 45.64 kB / 397.9 MB, free: 14.01 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000226/0.03168, allocations: 0.5339 MB / 398.5 MB, free: 13.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004285/0.03211, allocations: 269.8 kB / 398.7 MB, free: 13.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.03227, allocations: 176.3 kB / 398.9 MB, free: 13.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.03244, allocations: 0.5703 MB / 399.5 MB, free: 12.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/0.03268, allocations: 175.6 kB / 399.7 MB, free: 12.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003881/0.03306, allocations: 0.5513 MB / 400.2 MB, free: 11.55 MB / 378.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.001629/0.03469, allocations: 1.512 MB / 401.7 MB, free: 9.879 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.0347, allocations: 4 kB / 401.7 MB, free: 9.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00112/0.03582, allocations: 0.9247 MB / 402.6 MB, free: 8.918 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.03585, allocations: 37.7 kB / 402.7 MB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.03585, allocations: 8 kB / 402.7 MB, free: 8.867 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003846/0.03624, allocations: 171.1 kB / 402.9 MB, free: 8.688 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005953/0.03683, allocations: 263.6 kB / 403.1 MB, free: 8.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003189/0.04002, allocations: 6.335 MB / 409.5 MB, free: 1.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/0.04029, allocations: 35.94 kB / 409.5 MB, free: 1.695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.671e-05/0.04033, allocations: 43.98 kB / 409.5 MB, free: 1.652 MB / 378.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.0002171/0.04055, allocations: 262 kB / 409.8 MB, free: 1.379 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-05/0.04064, allocations: 99.53 kB / 409.9 MB, free: 1.281 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009549/0.0416, allocations: 0.7759 MB / 410.7 MB, free: 480 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.04161, allocations: 8 kB / 410.7 MB, free: 472 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.04162, allocations: 11.98 kB / 410.7 MB, free: 460 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.04163, allocations: 7.938 kB / 410.7 MB, free: 452 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002196/0.04382, allocations: 1.686 MB / 412.4 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.04382, allocations: 0 / 412.4 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004743/0.0443, allocations: 187.8 kB / 412.6 MB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003919/0.04469, allocations: 195 kB / 412.7 MB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.401e-05/0.04473, allocations: 27.98 kB / 412.8 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003252/0.04799, allocations: 6.308 MB / 419.1 MB, free: 7.578 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.04799, allocations: 8.062 kB / 419.1 MB, free: 7.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.04921, allocations: 1.15 MB / 420.2 MB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.469e-05/0.04927, allocations: 75.47 kB / 420.3 MB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.796e-05/0.04934, allocations: 28.05 kB / 420.3 MB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.04952, allocations: 27.98 kB / 420.4 MB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.04965, allocations: 64.42 kB / 420.4 MB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.088e-05/0.04968, allocations: 23.98 kB / 420.5 MB, free: 6.133 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002562/0.04993, allocations: 363 kB / 420.8 MB, free: 5.785 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04993, allocations: 0 / 420.8 MB, free: 5.785 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006475/0.05058, allocations: 279.9 kB / 421.1 MB, free: 5.512 MB / 394.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.0001942/0.05077, allocations: 130.5 kB / 421.2 MB, free: 5.375 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001215/0.05199, allocations: 1.262 MB / 422.5 MB, free: 4.031 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.05199, allocations: 0 / 422.5 MB, free: 4.031 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007389/0.05273, allocations: 0.9413 MB / 423.4 MB, free: 3.016 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005249/0.05326, allocations: 185.5 kB / 423.6 MB, free: 2.84 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/0.05562, allocations: 1.85 MB / 425.4 MB, free: 0.918 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004531/0.05607, allocations: 264 kB / 425.7 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002909/0.05636, allocations: 182.3 kB / 425.9 MB, free: 468 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.05647, allocations: 60.48 kB / 425.9 MB, free: 408 kB / 394.7 MB Notification: Performance of SimCode: time 1.092e-06/0.05647, allocations: 0 / 425.9 MB, free: 408 kB / 394.7 MB Notification: Performance of Templates: time 0.01375/0.07023, allocations: 11.87 MB / 437.8 MB, free: 4.684 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.381385378073901]