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.0007959/0.0007959, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0009425/0.0009425, allocations: 161 kB / 24.56 MB, free: 12 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.033/1.033, allocations: 177.1 MB / 205 MB, free: 5.586 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.2376/0.2376, allocations: 29.41 MB / 290.9 MB, free: 2.504 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.[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.064e-06/2.064e-06, allocations: 0 / 369.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.65e-05, allocations: 2.312 kB / 369.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.006008/0.006035, allocations: 6.424 MB / 376 MB, free: 4.574 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003408/0.009443, allocations: 2.321 MB / 378.4 MB, free: 2.246 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004115/0.009854, allocations: 35.69 kB / 378.4 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008551/0.01071, allocations: 306.1 kB / 378.7 MB, free: 1.91 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008657/0.01158, allocations: 0.5204 MB / 379.2 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009568/0.01253, allocations: 470.6 kB / 379.7 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001199/0.01373, allocations: 1.347 MB / 381 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005593/0.01429, allocations: 0.5214 MB / 381.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000721/0.01501, allocations: 0.7519 MB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00063/0.01564, allocations: 0.6545 MB / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.371e-05/0.01574, allocations: 84 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004119/0.01615, allocations: 283.4 kB / 383.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004952/0.01664, allocations: 0.5494 MB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003093/0.01695, allocations: 387.1 kB / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008377/0.01779, allocations: 1.004 MB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.01779, allocations: 0 / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01779, allocations: 0 / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.0178, allocations: 0 / 385.2 MB, free: 11.34 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.001494/0.0193, allocations: 1.401 MB / 386.6 MB, free: 9.891 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.01933, allocations: 11.98 kB / 386.6 MB, free: 9.879 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007202/0.02005, allocations: 296 kB / 386.9 MB, free: 9.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007747/0.02083, allocations: 0.681 MB / 387.6 MB, free: 8.883 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/0.02087, allocations: 66.36 kB / 387.7 MB, free: 8.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.02102, allocations: 108.8 kB / 387.8 MB, free: 8.715 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009152/0.02194, allocations: 0.905 MB / 388.7 MB, free: 7.703 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.02196, allocations: 8 kB / 388.7 MB, free: 7.695 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.364e-05/0.02201, allocations: 35.98 kB / 388.7 MB, free: 7.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001374/0.02215, allocations: 61.97 kB / 388.8 MB, free: 7.602 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006772/0.02282, allocations: 493 kB / 389.3 MB, free: 7.109 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003451/0.02628, allocations: 4.812 MB / 394.1 MB, free: 2.102 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005778/0.02685, allocations: 434.7 kB / 394.5 MB, free: 1.645 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002822/0.02714, allocations: 263.6 kB / 394.8 MB, free: 1.375 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.24e-05/0.02718, allocations: 12.66 kB / 394.8 MB, free: 1.363 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004056/0.02758, allocations: 409.6 kB / 395.2 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of pre-optimization done (n=69): time 2.114e-06/0.02759, allocations: 0 / 395.2 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of matching and sorting (n=73): time 0.002463/0.03005, allocations: 1.987 MB / 397.2 MB, free: 14.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.308e-05/0.03013, allocations: 174.9 kB / 397.3 MB, free: 14.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006491/0.03078, allocations: 0.5892 MB / 397.9 MB, free: 14.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.03082, allocations: 37.7 kB / 398 MB, free: 14.01 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/0.03107, allocations: 0.534 MB / 398.5 MB, free: 13.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.03122, allocations: 265.8 kB / 398.8 MB, free: 13.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/0.0314, allocations: 176.2 kB / 398.9 MB, free: 13.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.03156, allocations: 0.5781 MB / 399.5 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/0.03181, allocations: 179.5 kB / 399.7 MB, free: 12.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003942/0.03221, allocations: 0.5513 MB / 400.2 MB, free: 11.54 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.001749/0.03396, allocations: 1.512 MB / 401.8 MB, free: 9.863 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.03396, allocations: 0 / 401.8 MB, free: 9.863 MB / 378.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001102/0.03506, allocations: 0.9281 MB / 402.7 MB, free: 8.902 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/0.0351, allocations: 33.7 kB / 402.7 MB, free: 8.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.03511, allocations: 11.98 kB / 402.7 MB, free: 8.852 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003902/0.0355, allocations: 167.6 kB / 402.9 MB, free: 8.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006187/0.03612, allocations: 271.6 kB / 403.2 MB, free: 8.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003417/0.03953, allocations: 6.331 MB / 409.5 MB, free: 1.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002617/0.0398, allocations: 31.98 kB / 409.5 MB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/0.03985, allocations: 40.06 kB / 409.6 MB, free: 1.645 MB / 378.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.0002553/0.0401, allocations: 262.9 kB / 409.8 MB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.04021, allocations: 111.5 kB / 409.9 MB, free: 1.262 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.04123, allocations: 0.7838 MB / 410.7 MB, free: 452 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.04124, allocations: 8 kB / 410.7 MB, free: 444 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.04125, allocations: 4 kB / 410.7 MB, free: 440 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.04126, allocations: 7.922 kB / 410.7 MB, free: 432 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002102/0.04336, allocations: 1.686 MB / 412.4 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.04337, allocations: 4 kB / 412.4 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005013/0.04387, allocations: 183.9 kB / 412.6 MB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004128/0.04428, allocations: 198.9 kB / 412.8 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.334e-05/0.04432, allocations: 23.98 kB / 412.8 MB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003471/0.04779, allocations: 6.3 MB / 419.1 MB, free: 7.57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.0478, allocations: 3.984 kB / 419.1 MB, free: 7.566 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.04909, allocations: 1.169 MB / 420.3 MB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.969e-05/0.04916, allocations: 67.52 kB / 420.4 MB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.201e-05/0.04922, allocations: 23.95 kB / 420.4 MB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.04941, allocations: 27.97 kB / 420.4 MB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.04953, allocations: 64.42 kB / 420.5 MB, free: 6.145 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.488e-05/0.04956, allocations: 20 kB / 420.5 MB, free: 6.125 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002691/0.04983, allocations: 371 kB / 420.8 MB, free: 5.766 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.04983, allocations: 0 / 420.8 MB, free: 5.766 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006781/0.05051, allocations: 271.9 kB / 421.1 MB, free: 5.5 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.0002186/0.05073, allocations: 135.1 kB / 421.2 MB, free: 5.355 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001276/0.052, allocations: 1.258 MB / 422.5 MB, free: 4.016 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.052, allocations: 1.062 kB / 422.5 MB, free: 4.016 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007815/0.05279, allocations: 0.9445 MB / 423.4 MB, free: 2.996 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005924/0.05338, allocations: 192.5 kB / 423.6 MB, free: 2.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.05603, allocations: 1.838 MB / 425.5 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.05623, allocations: 268 kB / 425.7 MB, free: 0.6289 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003124/0.05654, allocations: 174.3 kB / 425.9 MB, free: 464 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003774/0.05692, allocations: 60.48 kB / 426 MB, free: 404 kB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/0.05692, allocations: 4 kB / 426 MB, free: 400 kB / 394.7 MB Notification: Performance of Templates: time 0.01375/0.07067, allocations: 11.43 MB / 437.4 MB, free: 5.113 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","",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.5360258677974343]