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.00141/0.00141, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001491/0.001491, allocations: 211.5 kB / 24.48 MB, free: 3.941 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.546/1.546, allocations: 230.6 MB / 258.2 MB, free: 7.773 MB / 206.1 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.2208/0.2208, allocations: 38.55 MB / 353.2 MB, free: 12.3 MB / 286.1 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 71.88 kB / 493.7 MB, free: 4.184 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3267, allocations: 62.46 MB / 0.5432 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.009775/0.3365, allocations: 7.161 MB / 0.5501 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005053/0.3416, allocations: 2.217 MB / 0.5523 GB, free: 9.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007461/0.3423, allocations: 36.62 kB / 0.5523 GB, free: 9.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002494/0.3448, allocations: 0.8387 MB / 0.5532 GB, free: 8.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001661/0.3465, allocations: 0.5079 MB / 0.5537 GB, free: 8.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.348, allocations: 462.1 kB / 0.5541 GB, free: 7.824 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002132/0.3502, allocations: 1.322 MB / 0.5554 GB, free: 7.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009687/0.3511, allocations: 0.5184 MB / 0.5559 GB, free: 6.738 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001331/0.3525, allocations: 0.5996 MB / 0.5565 GB, free: 6.387 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001248/0.3537, allocations: 0.6954 MB / 0.5572 GB, free: 5.828 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001655/0.3539, allocations: 80 kB / 0.5572 GB, free: 5.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007446/0.3546, allocations: 279.6 kB / 0.5575 GB, free: 5.477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000582/0.3552, allocations: 0.522 MB / 0.558 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005994/0.3558, allocations: 458 kB / 0.5585 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001837/0.3577, allocations: 1.35 MB / 0.5598 GB, free: 3.148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3577, allocations: 0 / 0.5598 GB, free: 3.148 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3577, allocations: 0 / 0.5598 GB, free: 3.148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.662e-05/0.3577, allocations: 0 / 0.5598 GB, free: 3.148 MB / 398.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.002731/0.3604, allocations: 1.301 MB / 0.561 GB, free: 1.801 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.3605, allocations: 8.031 kB / 0.561 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/0.3617, allocations: 208.1 kB / 0.5612 GB, free: 1.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001602/0.3633, allocations: 0.6751 MB / 0.5619 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.637e-05/0.3634, allocations: 66.36 kB / 0.562 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002559/0.3636, allocations: 112 kB / 0.5621 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/0.3657, allocations: 1.246 MB / 0.5633 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.422e-05/0.3657, allocations: 3.938 kB / 0.5633 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.312e-05/0.3658, allocations: 39.98 kB / 0.5633 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002767/0.3661, allocations: 57.97 kB / 0.5634 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/0.3679, allocations: 1.04 MB / 0.5644 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006803/0.3747, allocations: 4.3 MB / 0.5686 GB, free: 9.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.3759, allocations: 0.6447 MB / 0.5692 GB, free: 9.098 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006846/0.3766, allocations: 445.9 kB / 0.5697 GB, free: 8.648 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.808e-05/0.3766, allocations: 12.59 kB / 0.5697 GB, free: 8.637 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008709/0.3775, allocations: 0.5463 MB / 0.5702 GB, free: 8.059 MB / 414.1 MB Notification: Performance of pre-optimization done (n=69): time 2.745e-06/0.3775, allocations: 0 / 0.5702 GB, free: 8.059 MB / 414.1 MB Notification: Performance of matching and sorting (n=73): time 0.005263/0.3828, allocations: 2.81 MB / 0.5729 GB, free: 5.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/0.3829, allocations: 170.9 kB / 0.5731 GB, free: 4.973 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007545/0.3837, allocations: 0.5819 MB / 0.5737 GB, free: 4.387 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.311e-05/0.3837, allocations: 41.7 kB / 0.5737 GB, free: 4.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004326/0.3842, allocations: 492.1 kB / 0.5742 GB, free: 3.852 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002735/0.3844, allocations: 265.8 kB / 0.5744 GB, free: 3.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002772/0.3847, allocations: 174.6 kB / 0.5746 GB, free: 3.414 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002278/0.385, allocations: 394.7 kB / 0.575 GB, free: 3.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006679/0.3856, allocations: 399.5 kB / 0.5754 GB, free: 2.621 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008888/0.3865, allocations: 0.6522 MB / 0.576 GB, free: 1.852 MB / 414.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.007462/0.394, allocations: 3.228 MB / 0.5792 GB, free: 14.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.394, allocations: 0 / 0.5792 GB, free: 14.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002542/0.3965, allocations: 1.365 MB / 0.5805 GB, free: 13.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.946e-05/0.3966, allocations: 38.47 kB / 0.5805 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.3966, allocations: 8 kB / 0.5805 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006724/0.3973, allocations: 246.3 kB / 0.5808 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.3984, allocations: 263.6 kB / 0.581 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006306/0.4048, allocations: 5.667 MB / 0.5866 GB, free: 6.578 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007075/0.4055, allocations: 35.94 kB / 0.5866 GB, free: 6.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.407e-05/0.4055, allocations: 36 kB / 0.5866 GB, free: 6.508 MB / 430.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.0006141/0.4061, allocations: 391.1 kB / 0.587 GB, free: 6.109 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.4063, allocations: 75.53 kB / 0.5871 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00213/0.4084, allocations: 1.17 MB / 0.5882 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.478e-05/0.4084, allocations: 15.92 kB / 0.5882 GB, free: 4.816 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.4084, allocations: 7.938 kB / 0.5882 GB, free: 4.809 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.4085, allocations: 4 kB / 0.5882 GB, free: 4.805 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003736/0.4122, allocations: 2.051 MB / 0.5902 GB, free: 2.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.4122, allocations: 4.125 kB / 0.5902 GB, free: 2.676 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009852/0.4132, allocations: 187.8 kB / 0.5904 GB, free: 2.492 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007325/0.4139, allocations: 246.8 kB / 0.5907 GB, free: 2.242 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.7e-05/0.414, allocations: 23.98 kB / 0.5907 GB, free: 2.219 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005873/0.4199, allocations: 5.601 MB / 0.5962 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4199, allocations: 0 / 0.5962 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002875/0.4227, allocations: 1.706 MB / 0.5978 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002115/0.4229, allocations: 67.58 kB / 0.5979 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.4231, allocations: 24.02 kB / 0.5979 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004197/0.4235, allocations: 31.97 kB / 0.5979 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.4236, allocations: 64.48 kB / 0.598 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.394e-05/0.4237, allocations: 23.98 kB / 0.598 GB, free: 10.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004967/0.4242, allocations: 395 kB / 0.5984 GB, free: 9.957 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4242, allocations: 0 / 0.5984 GB, free: 9.957 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001101/0.4253, allocations: 272 kB / 0.5987 GB, free: 9.691 MB / 446.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.000235/0.4255, allocations: 141.8 kB / 0.5988 GB, free: 9.547 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002375/0.4279, allocations: 1.407 MB / 0.6002 GB, free: 8.074 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4279, allocations: 0 / 0.6002 GB, free: 8.074 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00147/0.4294, allocations: 0.9116 MB / 0.6011 GB, free: 7.109 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009491/0.4303, allocations: 185.7 kB / 0.6012 GB, free: 6.934 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003861/0.4342, allocations: 2.324 MB / 0.6035 GB, free: 4.547 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006128/0.4348, allocations: 0.5126 MB / 0.604 GB, free: 4.004 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/0.435, allocations: 67.42 kB / 0.6041 GB, free: 3.938 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.435, allocations: 0 / 0.6041 GB, free: 3.938 MB / 446.1 MB Notification: Performance of Templates: time 0.02855/0.4636, allocations: 21.53 MB / 0.6251 GB, free: 14.41 MB / 478.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.SimulationFixedInitial.mat","/var/lib/jenkins1/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: 10.610909939743578]