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.001211/0.001211, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001497/0.001497, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.356/1.356, allocations: 230.6 MB / 258.3 MB, free: 7.98 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.173/0.173, allocations: 38.53 MB / 353.2 MB, free: 12.54 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.002078/0.002078, allocations: 74.84 kB / 493.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3091, allocations: 62.46 MB / 0.5432 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.009041/0.3182, allocations: 7.78 MB / 0.5508 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004316/0.3225, allocations: 2.383 MB / 0.5531 GB, free: 8.578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000487/0.323, allocations: 38.06 kB / 0.5532 GB, free: 8.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002253/0.3252, allocations: 0.873 MB / 0.554 GB, free: 7.883 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001268/0.3265, allocations: 0.5137 MB / 0.5545 GB, free: 7.457 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.3279, allocations: 472 kB / 0.555 GB, free: 7.109 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002067/0.33, allocations: 1.315 MB / 0.5563 GB, free: 6.375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009735/0.331, allocations: 0.5299 MB / 0.5568 GB, free: 6.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.3322, allocations: 0.5862 MB / 0.5574 GB, free: 5.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/0.3336, allocations: 0.7434 MB / 0.5581 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002577/0.3339, allocations: 80 kB / 0.5582 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008247/0.3347, allocations: 291.6 kB / 0.5584 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006399/0.3353, allocations: 0.5181 MB / 0.5589 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008713/0.3362, allocations: 0.552 MB / 0.5595 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0017/0.3379, allocations: 1.331 MB / 0.5608 GB, free: 2.414 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3379, allocations: 3.938 kB / 0.5608 GB, free: 2.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3379, allocations: 0 / 0.5608 GB, free: 2.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.357e-05/0.338, allocations: 0 / 0.5608 GB, free: 2.41 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.002795/0.3408, allocations: 1.301 MB / 0.5621 GB, free: 1.062 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.3408, allocations: 12.03 kB / 0.5621 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.342, allocations: 200.1 kB / 0.5623 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.3434, allocations: 0.6712 MB / 0.5629 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.561e-05/0.3435, allocations: 62.38 kB / 0.563 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002606/0.3438, allocations: 112.1 kB / 0.5631 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.3457, allocations: 1.223 MB / 0.5643 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.067e-05/0.3457, allocations: 3.938 kB / 0.5643 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-05/0.3458, allocations: 36 kB / 0.5643 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002611/0.3461, allocations: 57.97 kB / 0.5644 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/0.3479, allocations: 1.011 MB / 0.5654 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006558/0.3544, allocations: 4.662 MB / 0.5699 GB, free: 8.723 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.3555, allocations: 0.6333 MB / 0.5705 GB, free: 8.066 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006162/0.3561, allocations: 420.1 kB / 0.5709 GB, free: 7.648 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.978e-05/0.3562, allocations: 4.656 kB / 0.5709 GB, free: 7.645 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007509/0.3569, allocations: 0.5056 MB / 0.5714 GB, free: 7.113 MB / 414.1 MB Notification: Performance of pre-optimization done (n=69): time 2.114e-06/0.3569, allocations: 0 / 0.5714 GB, free: 7.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=73): time 0.004727/0.3617, allocations: 2.74 MB / 0.5741 GB, free: 4.316 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.3618, allocations: 178.9 kB / 0.5743 GB, free: 4.102 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007005/0.3625, allocations: 0.5861 MB / 0.5748 GB, free: 3.512 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.395e-05/0.3625, allocations: 45.69 kB / 0.5749 GB, free: 3.461 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003767/0.3629, allocations: 484.2 kB / 0.5754 GB, free: 2.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002543/0.3632, allocations: 273.7 kB / 0.5756 GB, free: 2.711 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002569/0.3634, allocations: 174.6 kB / 0.5758 GB, free: 2.535 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.3636, allocations: 390.7 kB / 0.5762 GB, free: 2.145 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006007/0.3642, allocations: 381.8 kB / 0.5765 GB, free: 1.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007868/0.365, allocations: 0.631 MB / 0.5771 GB, free: 1.023 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.006931/0.3719, allocations: 3.214 MB / 0.5803 GB, free: 13.69 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/0.3719, allocations: 4 kB / 0.5803 GB, free: 13.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002325/0.3743, allocations: 1.336 MB / 0.5816 GB, free: 12.33 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.84e-05/0.3743, allocations: 37.69 kB / 0.5816 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.3743, allocations: 8 kB / 0.5816 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006472/0.375, allocations: 251.1 kB / 0.5819 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.3761, allocations: 267.6 kB / 0.5821 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005842/0.3819, allocations: 5.775 MB / 0.5878 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006541/0.3826, allocations: 35.98 kB / 0.5878 GB, free: 5.609 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.774e-05/0.3827, allocations: 40 kB / 0.5878 GB, free: 5.57 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.0006156/0.3833, allocations: 379.1 kB / 0.5882 GB, free: 5.184 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.3835, allocations: 83.42 kB / 0.5883 GB, free: 5.102 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002117/0.3856, allocations: 1.137 MB / 0.5894 GB, free: 3.934 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.971e-05/0.3856, allocations: 8 kB / 0.5894 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.138e-06/0.3856, allocations: 4 kB / 0.5894 GB, free: 3.922 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.3856, allocations: 3.984 kB / 0.5894 GB, free: 3.918 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003749/0.3894, allocations: 2.22 MB / 0.5916 GB, free: 1.617 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.3894, allocations: 4.031 kB / 0.5916 GB, free: 1.613 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008916/0.3903, allocations: 187.8 kB / 0.5917 GB, free: 1.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007015/0.391, allocations: 254.5 kB / 0.592 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.874e-05/0.391, allocations: 31.98 kB / 0.592 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005515/0.3965, allocations: 5.697 MB / 0.5976 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3965, allocations: 4.062 kB / 0.5976 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00265/0.3992, allocations: 1.64 MB / 0.5992 GB, free: 9.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002004/0.3994, allocations: 79.52 kB / 0.5993 GB, free: 9.332 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.3995, allocations: 19.98 kB / 0.5993 GB, free: 9.312 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004008/0.3999, allocations: 31.98 kB / 0.5993 GB, free: 9.281 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.4001, allocations: 64.42 kB / 0.5994 GB, free: 9.219 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-05/0.4001, allocations: 23.98 kB / 0.5994 GB, free: 9.195 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005114/0.4006, allocations: 411 kB / 0.5998 GB, free: 8.797 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4006, allocations: 0 / 0.5998 GB, free: 8.797 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001045/0.4017, allocations: 275.9 kB / 0.6001 GB, free: 8.527 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.0002167/0.4019, allocations: 127.2 kB / 0.6002 GB, free: 8.395 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002239/0.4041, allocations: 1.345 MB / 0.6015 GB, free: 6.996 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/0.4041, allocations: 7.938 kB / 0.6015 GB, free: 6.988 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001366/0.4055, allocations: 0.8864 MB / 0.6024 GB, free: 6.055 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008948/0.4064, allocations: 189 kB / 0.6025 GB, free: 5.879 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003759/0.4102, allocations: 2.288 MB / 0.6048 GB, free: 3.535 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008291/0.411, allocations: 1.119 MB / 0.6059 GB, free: 2.391 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/0.4112, allocations: 63.42 kB / 0.6059 GB, free: 2.328 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4112, allocations: 4 kB / 0.6059 GB, free: 2.324 MB / 446.1 MB Notification: Performance of Templates: time 0.02793/0.4391, allocations: 21.22 MB / 0.6267 GB, free: 13.11 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: 9.764638599939644]