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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 250.8 MB, free: 13.41 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1849/0.1849, allocations: 38.53 MB / 344.5 MB, free: 2.59 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001988/0.001988, allocations: 71.89 kB / 482 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.359, allocations: 61.24 MB / 0.5306 GB, free: 5.496 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.008583/0.3676, allocations: 7.738 MB / 0.5381 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005217/0.3728, allocations: 2.341 MB / 0.5404 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006487/0.3735, allocations: 28.81 kB / 0.5404 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00241/0.3759, allocations: 0.8768 MB / 0.5413 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.3773, allocations: 0.5125 MB / 0.5418 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.3787, allocations: 450.4 kB / 0.5422 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001832/0.3805, allocations: 1.312 MB / 0.5435 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007984/0.3813, allocations: 456.2 kB / 0.5439 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009393/0.3823, allocations: 0.5821 MB / 0.5445 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.3834, allocations: 0.7364 MB / 0.5452 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000158/0.3835, allocations: 81.94 kB / 0.5453 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007826/0.3843, allocations: 283.5 kB / 0.5456 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006661/0.385, allocations: 0.5186 MB / 0.5461 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007407/0.3857, allocations: 0.5419 MB / 0.5466 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002156/0.3879, allocations: 1.332 MB / 0.5479 GB, free: 9.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.3879, allocations: 0 / 0.5479 GB, free: 9.141 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3879, allocations: 0 / 0.5479 GB, free: 9.141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.9e-05/0.3879, allocations: 1.031 kB / 0.5479 GB, free: 9.141 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.002935/0.3908, allocations: 1.361 MB / 0.5492 GB, free: 8.078 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.3909, allocations: 13.45 kB / 0.5492 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.392, allocations: 174.8 kB / 0.5494 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00161/0.3936, allocations: 0.7476 MB / 0.5501 GB, free: 7.426 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-05/0.3937, allocations: 65.41 kB / 0.5502 GB, free: 7.395 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003048/0.394, allocations: 108.7 kB / 0.5503 GB, free: 7.352 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/0.3961, allocations: 1.227 MB / 0.5515 GB, free: 6.551 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.749e-05/0.3962, allocations: 7.203 kB / 0.5515 GB, free: 6.547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.3963, allocations: 32.75 kB / 0.5515 GB, free: 6.523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002621/0.3965, allocations: 61.38 kB / 0.5516 GB, free: 6.508 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001869/0.3984, allocations: 1.015 MB / 0.5526 GB, free: 5.863 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006641/0.405, allocations: 4.757 MB / 0.5572 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.4061, allocations: 0.6291 MB / 0.5578 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006547/0.4068, allocations: 423.8 kB / 0.5583 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.769e-05/0.4069, allocations: 4.562 kB / 0.5583 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000841/0.4077, allocations: 0.508 MB / 0.5588 GB, free: 15.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=69): time 2.916e-06/0.4077, allocations: 0 / 0.5588 GB, free: 15.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=73): time 0.005191/0.4129, allocations: 2.807 MB / 0.5615 GB, free: 12.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.413, allocations: 174.7 kB / 0.5617 GB, free: 12.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007503/0.4138, allocations: 0.59 MB / 0.5622 GB, free: 11.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.268e-05/0.4138, allocations: 41.7 kB / 0.5623 GB, free: 11.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004599/0.4143, allocations: 492.2 kB / 0.5627 GB, free: 11.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002654/0.4145, allocations: 269.8 kB / 0.563 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002872/0.4148, allocations: 170.6 kB / 0.5632 GB, free: 10.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002417/0.4151, allocations: 390.7 kB / 0.5635 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006103/0.4157, allocations: 373.8 kB / 0.5639 GB, free: 9.867 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008444/0.4165, allocations: 0.6385 MB / 0.5645 GB, free: 9.113 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.007164/0.4237, allocations: 3.439 MB / 0.5679 GB, free: 5.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.4237, allocations: 8 kB / 0.5679 GB, free: 5.492 MB / 414.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002704/0.4264, allocations: 1.332 MB / 0.5692 GB, free: 4.137 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.194e-05/0.4265, allocations: 40.66 kB / 0.5692 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.4265, allocations: 15.88 kB / 0.5692 GB, free: 4.078 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006783/0.4272, allocations: 246.6 kB / 0.5695 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.4283, allocations: 263.6 kB / 0.5697 GB, free: 3.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006101/0.4344, allocations: 6.089 MB / 0.5757 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009175/0.4353, allocations: 31.98 kB / 0.5757 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.583e-05/0.4354, allocations: 44.38 kB / 0.5757 GB, free: 12.98 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.000807/0.4362, allocations: 372.1 kB / 0.5761 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.4363, allocations: 87.42 kB / 0.5762 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00212/0.4384, allocations: 1.141 MB / 0.5773 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.99e-05/0.4385, allocations: 8 kB / 0.5773 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.4385, allocations: 7.984 kB / 0.5773 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.4385, allocations: 3.984 kB / 0.5773 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003751/0.4422, allocations: 2.239 MB / 0.5795 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.4422, allocations: 4 kB / 0.5795 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009144/0.4432, allocations: 187.9 kB / 0.5797 GB, free: 8.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007256/0.4439, allocations: 258.2 kB / 0.5799 GB, free: 8.559 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-05/0.4439, allocations: 23.92 kB / 0.58 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005882/0.4498, allocations: 6.011 MB / 0.5858 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.4498, allocations: 4.031 kB / 0.5858 GB, free: 2.102 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002817/0.4527, allocations: 1.643 MB / 0.5874 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003029/0.453, allocations: 152.6 kB / 0.5876 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.4531, allocations: 19.98 kB / 0.5876 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003981/0.4535, allocations: 27.98 kB / 0.5876 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/0.4536, allocations: 64.34 kB / 0.5877 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.203e-05/0.4537, allocations: 20 kB / 0.5877 GB, free: 116 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006697/0.4544, allocations: 423.1 kB / 0.5881 GB, free: 15.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4544, allocations: 0 / 0.5881 GB, free: 15.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001216/0.4556, allocations: 272 kB / 0.5884 GB, free: 15.44 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.0002469/0.4558, allocations: 135 kB / 0.5885 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002366/0.4582, allocations: 1.345 MB / 0.5898 GB, free: 13.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.4582, allocations: 0 / 0.5898 GB, free: 13.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001506/0.4597, allocations: 0.8895 MB / 0.5907 GB, free: 12.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009464/0.4607, allocations: 177.5 kB / 0.5908 GB, free: 12.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00398/0.4646, allocations: 2.21 MB / 0.593 GB, free: 10.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008801/0.4655, allocations: 1.122 MB / 0.5941 GB, free: 9.383 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005885/0.4661, allocations: 210.5 kB / 0.5943 GB, free: 9.172 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.4663, allocations: 55.42 kB / 0.5944 GB, free: 9.117 MB / 446.1 MB Notification: Performance of SimCode: time 1.974e-06/0.4663, allocations: 0 / 0.5944 GB, free: 9.117 MB / 446.1 MB Notification: Performance of Templates: time 0.02195/0.4882, allocations: 11.63 MB / 0.6057 GB, free: 13.55 MB / 462.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/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.400428091175854]