Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyInitial.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.0007576/0.0007576, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001141/0.001899, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006878/0.0006878, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009102/0.001598, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9839/0.9839, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09179/1.076, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.116/0.116, allocations: 29.44 MB / 273.6 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1406/0.2566, allocations: 9.539 MB / 283.2 MB, free: 12.82 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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.SimulationSteadyInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyInitial") translateModel(PowerSystems.Examples.Introductory.SimulationSteadyInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 284.5 MB, free: 11.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.047e-05, allocations: 3.859 kB / 284.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.005586/0.005607, allocations: 6.457 MB / 290.9 MB, free: 6.84 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003441/0.009047, allocations: 2.377 MB / 293.3 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003459/0.009393, allocations: 36.19 kB / 293.3 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.01042, allocations: 0.7531 MB / 294.1 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008679/0.01128, allocations: 0.5534 MB / 294.6 MB, free: 3.934 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009501/0.01223, allocations: 459.5 kB / 295.1 MB, free: 3.598 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001315/0.01355, allocations: 1.392 MB / 296.5 MB, free: 2.676 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006122/0.01416, allocations: 0.5234 MB / 297 MB, free: 2.141 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.01528, allocations: 0.9542 MB / 298 MB, free: 1.184 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008603/0.01614, allocations: 0.6038 MB / 298.6 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.01625, allocations: 76 kB / 298.6 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005546/0.01681, allocations: 275.6 kB / 298.9 MB, free: 240 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003591/0.01717, allocations: 0.4911 MB / 299.4 MB, free: 15.74 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002927/0.01746, allocations: 315.4 kB / 299.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.01869, allocations: 0.9227 MB / 300.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.0187, allocations: 4 kB / 300.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.0187, allocations: 0 / 300.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.497e-05/0.01873, allocations: 0 / 300.6 MB, free: 14.5 MB / 298.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.001575/0.02031, allocations: 1.444 MB / 302.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.882e-05/0.02034, allocations: 12.03 kB / 302.1 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008061/0.02114, allocations: 337.7 kB / 302.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006548/0.0218, allocations: 0.5671 MB / 303 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.335e-05/0.02184, allocations: 74.36 kB / 303 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/0.02201, allocations: 116.7 kB / 303.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007257/0.02273, allocations: 0.7988 MB / 304 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.02276, allocations: 0 / 304 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.231e-05/0.02281, allocations: 36 kB / 304 MB, free: 10.97 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001307/0.02294, allocations: 69.89 kB / 304.1 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004508/0.02339, allocations: 386.1 kB / 304.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003474/0.02687, allocations: 3.569 MB / 308 MB, free: 6.785 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004778/0.02734, allocations: 405.8 kB / 308.4 MB, free: 6.363 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.02754, allocations: 204 kB / 308.6 MB, free: 6.148 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-05/0.02758, allocations: 16.59 kB / 308.6 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003348/0.02792, allocations: 383.9 kB / 309 MB, free: 5.715 MB / 298.7 MB Notification: Performance of pre-optimization done (n=71): time 1.633e-06/0.02792, allocations: 0 / 309 MB, free: 5.715 MB / 298.7 MB Notification: Performance of matching and sorting (n=75): time 0.001805/0.02972, allocations: 1.392 MB / 310.4 MB, free: 4.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.159e-05/0.0298, allocations: 277.6 kB / 310.7 MB, free: 3.918 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002819/0.03009, allocations: 0.5037 MB / 311.2 MB, free: 3.406 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/0.03013, allocations: 41.7 kB / 311.2 MB, free: 3.359 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.0303, allocations: 413.4 kB / 311.6 MB, free: 2.949 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.03045, allocations: 273.7 kB / 311.9 MB, free: 2.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.0306, allocations: 162.5 kB / 312 MB, free: 2.516 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.03071, allocations: 394.5 kB / 312.4 MB, free: 2.121 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.03086, allocations: 146.4 kB / 312.6 MB, free: 1.973 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.03112, allocations: 404 kB / 313 MB, free: 1.461 MB / 298.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.000668/0.03178, allocations: 0.8418 MB / 313.8 MB, free: 0.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.03179, allocations: 0 / 313.8 MB, free: 0.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001278/0.03307, allocations: 0.797 MB / 314.6 MB, free: 15.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.656e-05/0.0331, allocations: 45.72 kB / 314.6 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.03311, allocations: 8 kB / 314.6 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009883/0.0341, allocations: 431.5 kB / 315.1 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002776/0.03438, allocations: 163.7 kB / 315.2 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003035/0.03741, allocations: 3.896 MB / 319.1 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.03768, allocations: 28 kB / 319.2 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.303e-05/0.03772, allocations: 35.92 kB / 319.2 MB, free: 10.88 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: $DER.lineR.i[1] = (-lineR.i[2]) * lineR.omega[1] $DER.lineR.i[2] = lineR.i[1] * lineR.omega[1] $DER.lineL.i[3] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (88): * Single equations (assignments): 84 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002272/0.03795, allocations: 227.8 kB / 319.4 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.699e-05/0.03802, allocations: 71.92 kB / 319.5 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006504/0.03867, allocations: 0.5963 MB / 320.1 MB, free: 9.934 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.03869, allocations: 11.94 kB / 320.1 MB, free: 9.922 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.03869, allocations: 4 kB / 320.1 MB, free: 9.918 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.0387, allocations: 3.984 kB / 320.1 MB, free: 9.914 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/0.04026, allocations: 1.431 MB / 321.5 MB, free: 8.406 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.04026, allocations: 0 / 321.5 MB, free: 8.406 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004736/0.04074, allocations: 170.8 kB / 321.7 MB, free: 8.238 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.438e-05/0.0408, allocations: 67.47 kB / 321.8 MB, free: 8.172 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003476/0.04115, allocations: 182.8 kB / 321.9 MB, free: 7.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.269e-05/0.04119, allocations: 23.98 kB / 322 MB, free: 7.957 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002294/0.04348, allocations: 4.592 MB / 326.6 MB, free: 3.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.04349, allocations: 7.938 kB / 326.6 MB, free: 3.062 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009465/0.04443, allocations: 0.944 MB / 327.5 MB, free: 2.039 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.676e-05/0.04451, allocations: 20 kB / 327.5 MB, free: 2.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.0447, allocations: 19.98 kB / 327.5 MB, free: 2 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.04481, allocations: 64.48 kB / 327.6 MB, free: 1.938 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/0.04483, allocations: 19.98 kB / 327.6 MB, free: 1.918 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000159/0.04499, allocations: 220.6 kB / 327.8 MB, free: 1.703 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04499, allocations: 0 / 327.8 MB, free: 1.703 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007239/0.04572, allocations: 311.9 kB / 328.1 MB, free: 1.398 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (57): * Single equations (assignments): 50 * 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.0001698/0.04589, allocations: 120.2 kB / 328.3 MB, free: 1.273 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.04712, allocations: 0.9594 MB / 329.2 MB, free: 268 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-05/0.04715, allocations: 12.5 kB / 329.2 MB, free: 256 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006516/0.0478, allocations: 0.7653 MB / 330 MB, free: 15.43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009162/0.04871, allocations: 1.428 MB / 331.4 MB, free: 13.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/0.06088, allocations: 1.797 MB / 333.2 MB, free: 11.88 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.06124, allocations: 280.2 kB / 333.5 MB, free: 11.58 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000301/0.06154, allocations: 90.69 kB / 333.6 MB, free: 11.49 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/0.06184, allocations: 209.2 kB / 333.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of SimCode: time 1.563e-06/0.06184, allocations: 4 kB / 333.8 MB, free: 11.28 MB / 330.7 MB Notification: Performance of Templates: time 0.01801/0.07986, allocations: 14.22 MB / 348 MB, free: 13.29 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyInitial.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyInitial.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyInitial.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyInitial.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyInitial.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyInitial -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyInitial.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyInitial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.SimulationSteadyInitial.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1574533311650157]