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.0009222/0.0009222, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001595/0.001595, allocations: 170.4 kB / 24.91 MB, free: 8.723 MB / 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 0.9719/0.9719, allocations: 177.1 MB / 205.3 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] 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.122/0.122, allocations: 29.43 MB / 291.2 MB, free: 2.703 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial") translateModel(PowerSystems.Examples.Introductory.SimulationFixedInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.855e-06/2.855e-06, allocations: 0 / 316.9 MB, free: 9.035 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.26e-05/3.546e-05, allocations: 4.703 kB / 316.9 MB, free: 9.031 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.009805/0.00984, allocations: 6.363 MB / 323.2 MB, free: 2.629 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005679/0.01552, allocations: 2.34 MB / 325.6 MB, free: 288 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008716/0.01639, allocations: 39.69 kB / 325.6 MB, free: 248 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00128/0.01767, allocations: 0.6141 MB / 326.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001093/0.01876, allocations: 0.5009 MB / 326.7 MB, free: 15.12 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.01993, allocations: 474.6 kB / 327.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001487/0.02142, allocations: 1.32 MB / 328.5 MB, free: 13.33 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007243/0.02215, allocations: 0.5739 MB / 329.1 MB, free: 12.75 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001377/0.02352, allocations: 0.8494 MB / 329.9 MB, free: 11.89 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008414/0.02436, allocations: 0.5687 MB / 330.5 MB, free: 11.32 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.0245, allocations: 80 kB / 330.6 MB, free: 11.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009178/0.02542, allocations: 283.5 kB / 330.9 MB, free: 10.97 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004537/0.02587, allocations: 0.53 MB / 331.4 MB, free: 10.44 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003688/0.02624, allocations: 387.1 kB / 331.8 MB, free: 10.06 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.02732, allocations: 0.9966 MB / 332.8 MB, free: 9.059 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.02732, allocations: 0 / 332.8 MB, free: 9.059 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.02733, allocations: 4 kB / 332.8 MB, free: 9.055 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.02734, allocations: 0 / 332.8 MB, free: 9.055 MB / 314.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.001468/0.02881, allocations: 1.214 MB / 334 MB, free: 7.805 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.02885, allocations: 12.03 kB / 334 MB, free: 7.793 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007181/0.02957, allocations: 236.6 kB / 334.2 MB, free: 7.562 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006486/0.03022, allocations: 0.5632 MB / 334.8 MB, free: 6.973 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.62e-05/0.03026, allocations: 70.34 kB / 334.9 MB, free: 6.906 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.03041, allocations: 96.86 kB / 335 MB, free: 6.812 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007608/0.03117, allocations: 0.8026 MB / 335.8 MB, free: 5.926 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.0312, allocations: 11.89 kB / 335.8 MB, free: 5.914 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.888e-05/0.03125, allocations: 35.98 kB / 335.8 MB, free: 5.879 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001317/0.03138, allocations: 61.97 kB / 335.9 MB, free: 5.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000467/0.03185, allocations: 386.1 kB / 336.2 MB, free: 5.434 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007952/0.0398, allocations: 3.587 MB / 339.8 MB, free: 1.688 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006895/0.04049, allocations: 397.8 kB / 340.2 MB, free: 1.273 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/0.0408, allocations: 194 kB / 340.4 MB, free: 1.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.326e-05/0.04085, allocations: 12.66 kB / 340.4 MB, free: 1.059 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005254/0.04138, allocations: 366.2 kB / 340.8 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of pre-optimization done (n=69): time 3.026e-06/0.04138, allocations: 0 / 340.8 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of matching and sorting (n=73): time 0.1525/0.1939, allocations: 1.347 MB / 342.1 MB, free: 35.81 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/0.1939, allocations: 168.5 kB / 342.3 MB, free: 35.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004732/0.1944, allocations: 0.5004 MB / 342.8 MB, free: 35.49 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.22e-05/0.1944, allocations: 41.8 kB / 342.8 MB, free: 35.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/0.1947, allocations: 419 kB / 343.2 MB, free: 35.31 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.1949, allocations: 261.8 kB / 343.5 MB, free: 35.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.1951, allocations: 168 kB / 343.7 MB, free: 35.15 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.827e-05/0.1952, allocations: 390.4 kB / 344 MB, free: 34.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.1954, allocations: 140.2 kB / 344.2 MB, free: 34.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/0.1957, allocations: 401.4 kB / 344.6 MB, free: 34.46 MB / 314.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.004688/0.2004, allocations: 1.166 MB / 345.7 MB, free: 34.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.2004, allocations: 7.5 kB / 345.7 MB, free: 34.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001003/0.2014, allocations: 0.6887 MB / 346.4 MB, free: 33.92 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.178e-05/0.2014, allocations: 36.05 kB / 346.5 MB, free: 33.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.2014, allocations: 13.03 kB / 346.5 MB, free: 33.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000457/0.2019, allocations: 155.3 kB / 346.6 MB, free: 33.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003874/0.2058, allocations: 222.1 kB / 346.9 MB, free: 33.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002549/0.2083, allocations: 4.588 MB / 351.4 MB, free: 29.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002392/0.2107, allocations: 27.36 kB / 351.5 MB, free: 29.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.075e-05/0.2108, allocations: 33.11 kB / 351.5 MB, free: 29.89 MB / 314.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.0002668/0.211, allocations: 214.8 kB / 351.7 MB, free: 29.75 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.2111, allocations: 79.5 kB / 351.8 MB, free: 29.74 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008715/0.212, allocations: 0.6047 MB / 352.4 MB, free: 29.57 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/0.212, allocations: 9.797 kB / 352.4 MB, free: 29.57 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.212, allocations: 3.125 kB / 352.4 MB, free: 29.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.2121, allocations: 4.266 kB / 352.4 MB, free: 29.57 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003608/0.2157, allocations: 1.23 MB / 353.6 MB, free: 29.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.2157, allocations: 5.75 kB / 353.6 MB, free: 29.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006444/0.2163, allocations: 154.3 kB / 353.8 MB, free: 29.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004592/0.2168, allocations: 184.1 kB / 354 MB, free: 29.07 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.691e-05/0.2168, allocations: 24.52 kB / 354 MB, free: 29.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007047/0.2239, allocations: 4.579 MB / 358.6 MB, free: 25.08 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.2239, allocations: 5.891 kB / 358.6 MB, free: 25.08 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.2249, allocations: 0.9023 MB / 359.5 MB, free: 24.67 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.552e-05/0.225, allocations: 67.45 kB / 359.6 MB, free: 24.62 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.02e-05/0.225, allocations: 23.7 kB / 359.6 MB, free: 24.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.2253, allocations: 16.69 kB / 359.6 MB, free: 24.62 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.2254, allocations: 64.62 kB / 359.7 MB, free: 24.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.794e-05/0.2254, allocations: 18.86 kB / 359.7 MB, free: 24.62 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001806/0.2256, allocations: 227.8 kB / 359.9 MB, free: 24.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2256, allocations: 0 / 359.9 MB, free: 24.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008863/0.2265, allocations: 276.8 kB / 360.2 MB, free: 24.59 MB / 314.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.003191/0.2297, allocations: 108.9 kB / 360.3 MB, free: 24.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.2307, allocations: 0.9762 MB / 361.2 MB, free: 23.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.626e-05/0.2307, allocations: 11.44 kB / 361.3 MB, free: 23.97 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006151/0.2314, allocations: 0.7175 MB / 362 MB, free: 23.51 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006367/0.232, allocations: 194 kB / 362.2 MB, free: 23.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00539/0.2374, allocations: 1.731 MB / 363.9 MB, free: 22.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.2376, allocations: 269 kB / 364.2 MB, free: 21.75 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002841/0.2379, allocations: 93.78 kB / 364.3 MB, free: 21.67 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003182/0.2382, allocations: 201.2 kB / 364.4 MB, free: 21.47 MB / 314.7 MB Notification: Performance of SimCode: time 1.222e-06/0.2382, allocations: 0 / 364.4 MB, free: 21.47 MB / 314.7 MB Notification: Performance of Templates: time 0.02659/0.2648, allocations: 12.09 MB / 376.5 MB, free: 9.672 MB / 314.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 -s gbode -gbm=radauIIA3 -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.415343103930354]