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.002394/0.002394, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002792/0.002792, allocations: 165.3 kB / 24.27 MB, free: 156 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.581/1.581, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 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.3282/0.3282, allocations: 29.41 MB / 290.5 MB, free: 2.422 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 2.064e-06/2.064e-06, allocations: 0 / 368.9 MB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.114e-05/3.32e-05, allocations: 2.312 kB / 368.9 MB, free: 11.35 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.01191/0.01195, allocations: 7.509 MB / 376.4 MB, free: 3.801 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0053/0.01725, allocations: 2.309 MB / 378.7 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005738/0.01782, allocations: 39.69 kB / 378.7 MB, free: 1.445 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002586/0.02041, allocations: 0.8516 MB / 379.6 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001439/0.02185, allocations: 0.5281 MB / 380.1 MB, free: 60 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.02329, allocations: 470.6 kB / 380.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002052/0.02534, allocations: 1.344 MB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008929/0.02623, allocations: 0.5291 MB / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001401/0.02763, allocations: 0.775 MB / 383.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001215/0.02885, allocations: 0.6584 MB / 383.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000182/0.02903, allocations: 80 kB / 383.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008193/0.02985, allocations: 291.4 kB / 384.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007167/0.03057, allocations: 0.5416 MB / 384.8 MB, free: 11.37 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006078/0.03118, allocations: 387.1 kB / 385.1 MB, free: 10.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00209/0.03327, allocations: 1.367 MB / 386.5 MB, free: 9.617 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.03327, allocations: 4 kB / 386.5 MB, free: 9.613 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.03327, allocations: 0 / 386.5 MB, free: 9.613 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.052e-05/0.03329, allocations: 0 / 386.5 MB, free: 9.613 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.002892/0.03618, allocations: 1.451 MB / 388 MB, free: 8.117 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.03623, allocations: 11.98 kB / 388 MB, free: 8.105 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001429/0.03766, allocations: 303.9 kB / 388.3 MB, free: 7.809 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001541/0.0392, allocations: 0.6772 MB / 389 MB, free: 7.105 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.446e-05/0.03927, allocations: 66.38 kB / 389 MB, free: 7.043 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005123/0.03978, allocations: 104.8 kB / 389.1 MB, free: 6.941 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/0.04156, allocations: 0.9668 MB / 390.1 MB, free: 5.871 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.706e-05/0.04159, allocations: 15.94 kB / 390.1 MB, free: 5.855 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-05/0.04168, allocations: 32 kB / 390.1 MB, free: 5.824 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002735/0.04196, allocations: 65.91 kB / 390.2 MB, free: 5.762 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.04318, allocations: 0.5519 MB / 390.8 MB, free: 5.199 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007096/0.05028, allocations: 5.062 MB / 395.8 MB, free: 15.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/0.0515, allocations: 474.2 kB / 396.3 MB, free: 15.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005196/0.05202, allocations: 287.5 kB / 396.6 MB, free: 15.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.122e-05/0.05209, allocations: 16.66 kB / 396.6 MB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007695/0.05286, allocations: 449.7 kB / 397 MB, free: 14.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=69): time 2.475e-06/0.05286, allocations: 4 kB / 397 MB, free: 14.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=73): time 0.004652/0.05751, allocations: 2.108 MB / 399.1 MB, free: 12.47 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/0.05765, allocations: 170.9 kB / 399.3 MB, free: 12.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008921/0.05854, allocations: 0.6908 MB / 400 MB, free: 11.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.758e-05/0.05861, allocations: 45.7 kB / 400 MB, free: 11.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005231/0.05913, allocations: 0.5497 MB / 400.6 MB, free: 10.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003147/0.05944, allocations: 285.8 kB / 400.9 MB, free: 10.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003333/0.05978, allocations: 196.3 kB / 401.1 MB, free: 10.47 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004114/0.06019, allocations: 0.6055 MB / 401.7 MB, free: 9.852 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004608/0.06065, allocations: 211.6 kB / 401.9 MB, free: 9.641 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008391/0.06149, allocations: 0.5982 MB / 402.5 MB, free: 8.879 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.006992/0.06848, allocations: 2.259 MB / 404.7 MB, free: 6.461 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.06849, allocations: 4 kB / 404.7 MB, free: 6.457 MB / 378.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002155/0.07064, allocations: 0.987 MB / 405.7 MB, free: 5.438 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.29e-05/0.07071, allocations: 37.7 kB / 405.7 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.07073, allocations: 8 kB / 405.8 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007649/0.07149, allocations: 187.3 kB / 405.9 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.07273, allocations: 263.6 kB / 406.2 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006809/0.07954, allocations: 6.46 MB / 412.7 MB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006456/0.08019, allocations: 35.98 kB / 412.7 MB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.108e-05/0.08027, allocations: 36 kB / 412.7 MB, free: 14.04 MB / 394.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.0004963/0.08077, allocations: 290 kB / 413 MB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/0.08096, allocations: 107.5 kB / 413.1 MB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001953/0.08291, allocations: 0.8346 MB / 413.9 MB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.377e-05/0.08294, allocations: 8 kB / 414 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.08294, allocations: 4 kB / 414 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.08296, allocations: 7.922 kB / 414 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003755/0.08671, allocations: 1.862 MB / 415.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.08672, allocations: 4 kB / 415.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.08774, allocations: 195.9 kB / 416 MB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008328/0.08858, allocations: 202.8 kB / 416.2 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.058e-05/0.08865, allocations: 27.98 kB / 416.3 MB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006548/0.0952, allocations: 6.445 MB / 422.7 MB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/0.0952, allocations: 7.984 kB / 422.7 MB, free: 3.535 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002489/0.09769, allocations: 1.267 MB / 424 MB, free: 2.199 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.09787, allocations: 75.5 kB / 424 MB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.098, allocations: 27.94 kB / 424.1 MB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004111/0.09841, allocations: 23.97 kB / 424.1 MB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/0.09858, allocations: 60.48 kB / 424.2 MB, free: 2.012 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.966e-05/0.09864, allocations: 20 kB / 424.2 MB, free: 1.992 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008408/0.09948, allocations: 427 kB / 424.6 MB, free: 1.578 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.09948, allocations: 0 / 424.6 MB, free: 1.578 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001128/0.1006, allocations: 272 kB / 424.9 MB, free: 1.312 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.0002549/0.1009, allocations: 135 kB / 425 MB, free: 1.168 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002317/0.1032, allocations: 1.34 MB / 426.3 MB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1032, allocations: 0 / 426.3 MB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001557/0.1047, allocations: 0.9843 MB / 427.3 MB, free: 14.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009597/0.1057, allocations: 182.7 kB / 427.5 MB, free: 14.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003456/0.1092, allocations: 1.863 MB / 429.4 MB, free: 12.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006626/0.1098, allocations: 0.4931 MB / 429.8 MB, free: 12.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000509/0.1103, allocations: 174.3 kB / 430 MB, free: 11.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.1105, allocations: 60.48 kB / 430.1 MB, free: 11.84 MB / 410.7 MB Notification: Performance of SimCode: time 1.263e-06/0.1105, allocations: 3.938 kB / 430.1 MB, free: 11.83 MB / 410.7 MB Notification: Performance of Templates: time 0.02377/0.1343, allocations: 11.39 MB / 441.5 MB, free: 0.5898 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: 5.444649337907322]