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.001823/0.001823, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.001981/0.001981, allocations: 165.3 kB / 24.28 MB, free: 148 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.597/1.597, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.3046/0.3046, allocations: 29.41 MB / 290.5 MB, free: 2.434 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 3.437e-06/3.437e-06, allocations: 0 / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.576e-05/3.919e-05, allocations: 2.312 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.01189/0.01193, allocations: 7.512 MB / 376.4 MB, free: 3.781 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005617/0.01755, allocations: 2.313 MB / 378.7 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006889/0.01824, allocations: 39.69 kB / 378.7 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002708/0.02095, allocations: 0.8438 MB / 379.6 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001709/0.02265, allocations: 0.5281 MB / 380.1 MB, free: 44 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001601/0.02426, allocations: 474.6 kB / 380.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002181/0.02644, allocations: 1.348 MB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.02746, allocations: 0.5252 MB / 382.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001415/0.02887, allocations: 0.775 MB / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001394/0.03027, allocations: 0.6584 MB / 383.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001799/0.03045, allocations: 84 kB / 384 MB, free: 12.17 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007398/0.03119, allocations: 283.4 kB / 384.2 MB, free: 11.89 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006696/0.03186, allocations: 0.5455 MB / 384.8 MB, free: 11.35 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000651/0.03251, allocations: 391.1 kB / 385.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002459/0.03497, allocations: 1.363 MB / 386.5 MB, free: 9.598 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.03497, allocations: 0 / 386.5 MB, free: 9.598 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.03497, allocations: 0 / 386.5 MB, free: 9.598 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.326e-05/0.035, allocations: 0 / 386.5 MB, free: 9.598 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.003182/0.03818, allocations: 1.455 MB / 388 MB, free: 8.098 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.03822, allocations: 8.031 kB / 388 MB, free: 8.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001424/0.03965, allocations: 296 kB / 388.3 MB, free: 7.801 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001701/0.04135, allocations: 0.681 MB / 389 MB, free: 7.094 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-05/0.04144, allocations: 74.34 kB / 389 MB, free: 7.023 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002552/0.0417, allocations: 96.92 kB / 389.1 MB, free: 6.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/0.04352, allocations: 0.9745 MB / 390.1 MB, free: 5.852 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.497e-05/0.04356, allocations: 3.953 kB / 390.1 MB, free: 5.848 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.04366, allocations: 43.98 kB / 390.1 MB, free: 5.805 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00027/0.04393, allocations: 57.97 kB / 390.2 MB, free: 5.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/0.04556, allocations: 0.5635 MB / 390.8 MB, free: 5.176 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007518/0.05308, allocations: 5.047 MB / 395.8 MB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.05411, allocations: 478 kB / 396.3 MB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000531/0.05464, allocations: 291.5 kB / 396.6 MB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.816e-05/0.0547, allocations: 12.66 kB / 396.6 MB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007724/0.05547, allocations: 449.7 kB / 397 MB, free: 14.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=69): time 2.295e-06/0.05548, allocations: 0 / 397 MB, free: 14.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=73): time 0.004793/0.06027, allocations: 2.1 MB / 399.1 MB, free: 12.47 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/0.06041, allocations: 183 kB / 399.3 MB, free: 12.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009765/0.06139, allocations: 0.6947 MB / 400 MB, free: 11.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-05/0.06148, allocations: 45.64 kB / 400 MB, free: 11.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006873/0.06217, allocations: 0.5536 MB / 400.6 MB, free: 10.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003425/0.06251, allocations: 277.8 kB / 400.9 MB, free: 10.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003457/0.06286, allocations: 204.3 kB / 401.1 MB, free: 10.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004344/0.06329, allocations: 0.6055 MB / 401.7 MB, free: 9.832 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004511/0.06374, allocations: 203.6 kB / 401.9 MB, free: 9.629 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008273/0.06457, allocations: 0.5982 MB / 402.5 MB, free: 8.867 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.006529/0.0711, allocations: 2.255 MB / 404.7 MB, free: 6.453 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.07111, allocations: 4 kB / 404.7 MB, free: 6.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002126/0.07323, allocations: 0.9949 MB / 405.7 MB, free: 5.422 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.239e-05/0.07329, allocations: 33.7 kB / 405.7 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.0733, allocations: 8 kB / 405.8 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007209/0.07403, allocations: 183.2 kB / 405.9 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.07525, allocations: 271.6 kB / 406.2 MB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006786/0.08203, allocations: 6.46 MB / 412.7 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006461/0.08268, allocations: 31.98 kB / 412.7 MB, free: 14.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.377e-05/0.08276, allocations: 43.98 kB / 412.7 MB, free: 14.02 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.000528/0.08329, allocations: 286.9 kB / 413 MB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/0.08348, allocations: 99.53 kB / 413.1 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001845/0.08532, allocations: 0.8344 MB / 413.9 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.239e-05/0.08535, allocations: 15.98 kB / 414 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.08535, allocations: 4 kB / 414 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/0.08537, allocations: 11.92 kB / 414 MB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003573/0.08894, allocations: 1.858 MB / 415.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.08894, allocations: 0 / 415.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009692/0.08991, allocations: 183.8 kB / 416 MB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007801/0.09069, allocations: 215 kB / 416.2 MB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.821e-05/0.09076, allocations: 35.84 kB / 416.3 MB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006423/0.09718, allocations: 6.445 MB / 422.7 MB, free: 3.523 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.09719, allocations: 4 kB / 422.7 MB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002348/0.09953, allocations: 1.259 MB / 424 MB, free: 2.191 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.09971, allocations: 79.45 kB / 424 MB, free: 2.113 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.09984, allocations: 31.94 kB / 424.1 MB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003856/0.1002, allocations: 23.98 kB / 424.1 MB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.1004, allocations: 68.42 kB / 424.2 MB, free: 1.988 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.944e-05/0.1005, allocations: 23.98 kB / 424.2 MB, free: 1.965 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005627/0.101, allocations: 419 kB / 424.6 MB, free: 1.559 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.101, allocations: 0 / 424.6 MB, free: 1.559 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001099/0.1021, allocations: 276 kB / 424.9 MB, free: 1.289 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.0002708/0.1024, allocations: 131.1 kB / 425 MB, free: 1.148 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002552/0.1049, allocations: 1.332 MB / 426.3 MB, free: 15.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1049, allocations: 0 / 426.3 MB, free: 15.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001482/0.1064, allocations: 0.9882 MB / 427.3 MB, free: 14.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009096/0.1073, allocations: 182 kB / 427.5 MB, free: 14.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003464/0.1108, allocations: 1.871 MB / 429.4 MB, free: 12.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006862/0.1115, allocations: 0.4931 MB / 429.9 MB, free: 12.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005378/0.112, allocations: 182.3 kB / 430 MB, free: 11.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.1122, allocations: 60.48 kB / 430.1 MB, free: 11.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.392e-06/0.1122, allocations: 0 / 430.1 MB, free: 11.8 MB / 410.7 MB Notification: Performance of Templates: time 0.02413/0.1363, allocations: 11.38 MB / 441.5 MB, free: 0.582 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe 2>&1) [Timeout 240] 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.521989646949805]