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.001535/0.001535, allocations: 80.92 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.001968/0.001968, allocations: 169 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.9717/0.9717, allocations: 177.1 MB / 205.3 MB, free: 4.496 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.146/0.146, allocations: 29.43 MB / 291.2 MB, free: 2.695 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.295e-06/2.295e-06, allocations: 0 / 316.8 MB, free: 9.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/2.929e-05, allocations: 4.984 kB / 316.8 MB, free: 9.086 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.006361/0.006391, allocations: 6.324 MB / 323.1 MB, free: 2.723 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003121/0.009512, allocations: 2.348 MB / 325.5 MB, free: 376 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003106/0.009823, allocations: 35.69 kB / 325.5 MB, free: 340 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.01083, allocations: 0.614 MB / 326.1 MB, free: 15.71 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007576/0.01159, allocations: 0.5165 MB / 326.7 MB, free: 15.2 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009228/0.01251, allocations: 474.6 kB / 327.1 MB, free: 14.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001187/0.0137, allocations: 1.324 MB / 328.4 MB, free: 13.4 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008814/0.01458, allocations: 0.5701 MB / 329 MB, free: 12.82 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009445/0.01553, allocations: 0.8494 MB / 329.9 MB, free: 11.97 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000713/0.01624, allocations: 0.5687 MB / 330.4 MB, free: 11.4 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001016/0.01634, allocations: 76 kB / 330.5 MB, free: 11.32 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004704/0.01681, allocations: 275.5 kB / 330.8 MB, free: 11.05 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003695/0.01718, allocations: 0.5338 MB / 331.3 MB, free: 10.52 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003249/0.01751, allocations: 391.1 kB / 331.7 MB, free: 10.14 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.01851, allocations: 1 MB / 332.7 MB, free: 9.133 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.01852, allocations: 0 / 332.7 MB, free: 9.133 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.01852, allocations: 0 / 332.7 MB, free: 9.133 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.055e-05/0.01854, allocations: 0 / 332.7 MB, free: 9.133 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.001432/0.01997, allocations: 1.214 MB / 333.9 MB, free: 7.883 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.02001, allocations: 8.031 kB / 333.9 MB, free: 7.875 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006832/0.02069, allocations: 236.6 kB / 334.1 MB, free: 7.645 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007078/0.0214, allocations: 0.5749 MB / 334.7 MB, free: 7.043 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.38e-05/0.02144, allocations: 62.38 kB / 334.8 MB, free: 6.984 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.02159, allocations: 104.8 kB / 334.9 MB, free: 6.883 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007326/0.02232, allocations: 0.8026 MB / 335.7 MB, free: 5.996 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.02235, allocations: 7.953 kB / 335.7 MB, free: 5.988 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.032e-05/0.0224, allocations: 32 kB / 335.7 MB, free: 5.957 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001285/0.02253, allocations: 61.97 kB / 335.8 MB, free: 5.898 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007774/0.0233, allocations: 386 kB / 336.2 MB, free: 5.512 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002854/0.02616, allocations: 3.584 MB / 339.7 MB, free: 1.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004428/0.0266, allocations: 405.8 kB / 340.1 MB, free: 1.344 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.02679, allocations: 186 kB / 340.3 MB, free: 1.148 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.089e-05/0.02683, allocations: 20.64 kB / 340.3 MB, free: 1.129 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003453/0.02717, allocations: 362.2 kB / 340.7 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of pre-optimization done (n=69): time 3.387e-06/0.02718, allocations: 0 / 340.7 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of matching and sorting (n=73): time 0.2118/0.239, allocations: 1.356 MB / 342.1 MB, free: 35.78 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/0.2391, allocations: 166.5 kB / 342.2 MB, free: 35.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004536/0.2395, allocations: 0.4973 MB / 342.7 MB, free: 35.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.166e-05/0.2396, allocations: 46.34 kB / 342.8 MB, free: 35.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003187/0.2399, allocations: 414.8 kB / 343.2 MB, free: 35.28 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.2401, allocations: 261.6 kB / 343.4 MB, free: 35.15 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/0.2403, allocations: 167.5 kB / 343.6 MB, free: 35.12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.2404, allocations: 391.2 kB / 344 MB, free: 34.81 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/0.2407, allocations: 140.7 kB / 344.1 MB, free: 34.77 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003661/0.241, allocations: 399.3 kB / 344.5 MB, free: 34.44 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.001995/0.243, allocations: 1.169 MB / 345.7 MB, free: 34.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/0.243, allocations: 7.656 kB / 345.7 MB, free: 34.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001311/0.2443, allocations: 0.688 MB / 346.4 MB, free: 33.89 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.601e-05/0.2444, allocations: 36.38 kB / 346.4 MB, free: 33.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-05/0.2444, allocations: 8.875 kB / 346.4 MB, free: 33.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004809/0.2449, allocations: 158.8 kB / 346.6 MB, free: 33.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006345/0.2455, allocations: 208.5 kB / 346.8 MB, free: 33.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00285/0.2484, allocations: 4.574 MB / 351.3 MB, free: 29.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004207/0.2488, allocations: 30.22 kB / 351.4 MB, free: 29.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.351e-05/0.2489, allocations: 29.31 kB / 351.4 MB, free: 29.87 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.0003864/0.2492, allocations: 223.1 kB / 351.6 MB, free: 29.72 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.2494, allocations: 73.02 kB / 351.7 MB, free: 29.71 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009383/0.2503, allocations: 0.5971 MB / 352.3 MB, free: 29.54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.296e-05/0.2503, allocations: 8.875 kB / 352.3 MB, free: 29.54 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.2503, allocations: 4.5 kB / 352.3 MB, free: 29.54 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/0.2504, allocations: 8.906 kB / 352.3 MB, free: 29.54 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.252, allocations: 1.232 MB / 353.5 MB, free: 29.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.252, allocations: 2.594 kB / 353.5 MB, free: 29.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004054/0.2524, allocations: 129.5 kB / 353.7 MB, free: 29.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003778/0.2528, allocations: 181.8 kB / 353.8 MB, free: 29.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.575e-05/0.2528, allocations: 30.23 kB / 353.9 MB, free: 29.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002031/0.2549, allocations: 4.57 MB / 358.4 MB, free: 25.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.2549, allocations: 11.86 kB / 358.5 MB, free: 25.06 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008517/0.2557, allocations: 0.9021 MB / 359.4 MB, free: 24.65 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.81e-05/0.2558, allocations: 65.94 kB / 359.4 MB, free: 24.61 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.212e-05/0.2559, allocations: 25.03 kB / 359.4 MB, free: 24.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.2561, allocations: 16.72 kB / 359.5 MB, free: 24.61 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.2562, allocations: 57.19 kB / 359.5 MB, free: 24.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.153e-05/0.2562, allocations: 20.02 kB / 359.5 MB, free: 24.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001719/0.2564, allocations: 229.3 kB / 359.8 MB, free: 24.58 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2564, allocations: 1.5 kB / 359.8 MB, free: 24.58 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008003/0.2572, allocations: 273.2 kB / 360 MB, free: 24.58 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.0001921/0.2574, allocations: 118.1 kB / 360.1 MB, free: 24.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008957/0.2583, allocations: 0.9744 MB / 361.1 MB, free: 23.96 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.468e-05/0.2583, allocations: 8.375 kB / 361.1 MB, free: 23.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000534/0.2588, allocations: 0.7263 MB / 361.9 MB, free: 23.5 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005858/0.2594, allocations: 197.6 kB / 362 MB, free: 23.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/0.2624, allocations: 1.725 MB / 363.8 MB, free: 22.12 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.2626, allocations: 267.4 kB / 364 MB, free: 21.86 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003212/0.2629, allocations: 91.81 kB / 364.1 MB, free: 21.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002721/0.2632, allocations: 197.3 kB / 364.3 MB, free: 21.58 MB / 314.7 MB Notification: Performance of SimCode: time 1.973e-06/0.2632, allocations: 4 kB / 364.3 MB, free: 21.57 MB / 314.7 MB Notification: Performance of Templates: time 0.0136/0.2768, allocations: 12.09 MB / 376.4 MB, free: 9.777 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 -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.6232211608439684]