Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001493/0.001493, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001576/0.001576, allocations: 161.7 kB / 24.27 MB, free: 176 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.477/1.477, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.3017/0.3017, allocations: 29.42 MB / 290.5 MB, free: 2.445 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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="mat",numberOfIntervals=1000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial") translateModel(PowerSystems.Examples.Introductory.SimulationFixedInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.153e-05/3.373e-05, allocations: 2.312 kB / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.01517/0.0152, allocations: 7.118 MB / 376 MB, free: 4.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007231/0.02243, allocations: 2.227 MB / 378.2 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005767/0.02301, allocations: 35.69 kB / 378.3 MB, free: 1.91 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002499/0.02551, allocations: 0.832 MB / 379.1 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001507/0.02702, allocations: 0.5281 MB / 379.6 MB, free: 0.543 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.02867, allocations: 482.6 kB / 380.1 MB, free: 72 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002233/0.0309, allocations: 1.34 MB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009567/0.03186, allocations: 0.5213 MB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001345/0.0332, allocations: 0.7711 MB / 382.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.03436, allocations: 0.6506 MB / 383.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001522/0.03452, allocations: 80 kB / 383.4 MB, free: 12.69 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007308/0.03525, allocations: 291.4 kB / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006657/0.03591, allocations: 0.5299 MB / 384.3 MB, free: 11.88 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006384/0.03655, allocations: 391.1 kB / 384.6 MB, free: 11.49 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001945/0.0385, allocations: 1.359 MB / 386 MB, free: 10.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.0385, allocations: 0 / 386 MB, free: 10.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.0385, allocations: 0 / 386 MB, free: 10.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.722e-05/0.03852, allocations: 4 kB / 386 MB, free: 10.12 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.002821/0.04134, allocations: 1.274 MB / 387.3 MB, free: 8.812 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.04138, allocations: 12.03 kB / 387.3 MB, free: 8.801 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001418/0.0428, allocations: 304 kB / 387.6 MB, free: 8.504 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/0.04434, allocations: 0.7017 MB / 388.3 MB, free: 7.777 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.096e-05/0.04442, allocations: 66.38 kB / 388.4 MB, free: 7.715 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002567/0.04468, allocations: 100.9 kB / 388.4 MB, free: 7.617 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002188/0.04687, allocations: 1.256 MB / 389.7 MB, free: 6.281 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/0.04691, allocations: 7.953 kB / 389.7 MB, free: 6.273 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.04701, allocations: 32 kB / 389.7 MB, free: 6.242 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002861/0.04729, allocations: 65.95 kB / 389.8 MB, free: 6.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/0.04923, allocations: 1.036 MB / 390.8 MB, free: 5.133 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006994/0.05622, allocations: 4.302 MB / 395.1 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.05753, allocations: 0.6576 MB / 395.8 MB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007715/0.0583, allocations: 449.8 kB / 396.2 MB, free: 15.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.003e-05/0.05836, allocations: 16.66 kB / 396.3 MB, free: 15.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009371/0.05929, allocations: 0.5268 MB / 396.8 MB, free: 14.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=69): time 2.806e-06/0.0593, allocations: 4 kB / 396.8 MB, free: 14.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=73): time 0.00595/0.06525, allocations: 2.833 MB / 399.6 MB, free: 12.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/0.06539, allocations: 174.8 kB / 399.8 MB, free: 11.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008085/0.0662, allocations: 0.578 MB / 400.4 MB, free: 11.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.498e-05/0.06627, allocations: 41.7 kB / 400.4 MB, free: 11.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000491/0.06676, allocations: 484.2 kB / 400.9 MB, free: 10.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003002/0.06706, allocations: 269.9 kB / 401.2 MB, free: 10.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002945/0.06736, allocations: 166.6 kB / 401.3 MB, free: 10.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002543/0.06761, allocations: 386.8 kB / 401.7 MB, free: 9.898 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007032/0.06832, allocations: 403.5 kB / 402.1 MB, free: 9.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009839/0.0693, allocations: 0.6639 MB / 402.7 MB, free: 8.715 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.008148/0.07745, allocations: 3.231 MB / 406 MB, free: 5.367 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/0.07746, allocations: 3.938 kB / 406 MB, free: 5.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003012/0.08047, allocations: 1.408 MB / 407.4 MB, free: 3.926 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.813e-05/0.08055, allocations: 33.7 kB / 407.4 MB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.148e-05/0.08058, allocations: 12.03 kB / 407.4 MB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.08169, allocations: 266.3 kB / 407.7 MB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/0.08298, allocations: 259.6 kB / 407.9 MB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007188/0.09016, allocations: 5.695 MB / 413.6 MB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007276/0.09089, allocations: 35.98 kB / 413.7 MB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001801/0.09107, allocations: 40 kB / 413.7 MB, free: 13.27 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.0007709/0.09184, allocations: 380 kB / 414.1 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000261/0.0921, allocations: 99.53 kB / 414.2 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002486/0.09459, allocations: 1.162 MB / 415.3 MB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.948e-05/0.09462, allocations: 11.98 kB / 415.4 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.659e-05/0.09464, allocations: 4 kB / 415.4 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.09465, allocations: 3.938 kB / 415.4 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004439/0.09909, allocations: 2.051 MB / 417.4 MB, free: 9.449 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/0.0991, allocations: 8.031 kB / 417.4 MB, free: 9.441 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000974/0.1001, allocations: 183.8 kB / 417.6 MB, free: 9.262 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009822/0.1011, allocations: 266.2 kB / 417.9 MB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.807e-05/0.1011, allocations: 23.98 kB / 417.9 MB, free: 8.969 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007057/0.1082, allocations: 5.605 MB / 423.5 MB, free: 3.059 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/0.1082, allocations: 4.031 kB / 423.5 MB, free: 3.055 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003326/0.1115, allocations: 1.73 MB / 425.2 MB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003288/0.1118, allocations: 71.55 kB / 425.3 MB, free: 1.195 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/0.112, allocations: 23.98 kB / 425.3 MB, free: 1.172 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005109/0.1125, allocations: 31.91 kB / 425.4 MB, free: 1.141 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002238/0.1128, allocations: 60.48 kB / 425.4 MB, free: 1.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.277e-05/0.1128, allocations: 20 kB / 425.4 MB, free: 1.059 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006419/0.1135, allocations: 399 kB / 425.8 MB, free: 0.6758 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1135, allocations: 7.938 kB / 425.8 MB, free: 0.668 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001301/0.1148, allocations: 271.9 kB / 426.1 MB, free: 412 kB / 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.0003048/0.1151, allocations: 131.1 kB / 426.2 MB, free: 268 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002947/0.118, allocations: 1.4 MB / 427.6 MB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.118, allocations: 0 / 427.6 MB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001694/0.1197, allocations: 0.9181 MB / 428.5 MB, free: 13.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.1208, allocations: 193.7 kB / 428.7 MB, free: 13.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004625/0.1255, allocations: 2.115 MB / 430.8 MB, free: 11.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009015/0.1264, allocations: 0.5125 MB / 431.4 MB, free: 10.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006531/0.127, allocations: 210.3 kB / 431.6 MB, free: 10.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/0.1272, allocations: 60.48 kB / 431.6 MB, free: 10.66 MB / 410.7 MB Notification: Performance of SimCode: time 2.585e-06/0.1272, allocations: 0 / 431.6 MB, free: 10.66 MB / 410.7 MB Notification: Performance of Templates: time 0.1569/0.2841, allocations: 11.35 MB / 443 MB, free: 108.7 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.SimulationFixedInitial.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.320525365066715]