Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001417/0.001418, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.1 MB / 223.1 MB, free: 8.488 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001199/0.001199, allocations: 100.3 kB / 270.5 MB, free: 8.453 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1703/0.1703, allocations: 38 MB / 355.8 MB, free: 2.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 55.91 kB / 421.9 MB, free: 37.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3569, allocations: 55.23 MB / 477.1 MB, free: 9.922 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.01025/0.3672, allocations: 7.625 MB / 484.7 MB, free: 4.543 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006542/0.3738, allocations: 4.548 MB / 489.3 MB, free: 1.359 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000566/0.3744, allocations: 16.31 kB / 489.3 MB, free: 1.355 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002448/0.3769, allocations: 0.9749 MB / 490.3 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003846/0.3807, allocations: 1.141 MB / 491.4 MB, free: 180 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.3821, allocations: 287.3 kB / 491.7 MB, free: 28 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005721/0.3879, allocations: 2.598 MB / 494.3 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001748/0.3896, allocations: 0.6581 MB / 494.9 MB, free: 15.03 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001735/0.3914, allocations: 0.5139 MB / 495.4 MB, free: 14.8 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.3929, allocations: 0.7313 MB / 496.2 MB, free: 14.55 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001863/0.3931, allocations: 48.81 kB / 496.2 MB, free: 14.55 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003894/0.397, allocations: 1.61 MB / 497.8 MB, free: 13.75 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007853/0.3978, allocations: 468.3 kB / 498.3 MB, free: 13.48 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006624/0.3985, allocations: 422 kB / 498.7 MB, free: 13.22 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003316/0.4018, allocations: 1.531 MB / 0.4885 GB, free: 12.3 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4018, allocations: 0 / 0.4885 GB, free: 12.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4019, allocations: 5.406 kB / 0.4885 GB, free: 12.3 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.741e-05/0.4019, allocations: 0 / 0.4885 GB, free: 12.3 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002566/0.4044, allocations: 1.128 MB / 0.4896 GB, free: 11.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.37e-05/0.4045, allocations: 9.188 kB / 0.4896 GB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00339/0.4079, allocations: 389.5 kB / 0.49 GB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009513/0.4089, allocations: 476.9 kB / 0.4905 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.011e-05/0.409, allocations: 59.67 kB / 0.4905 GB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/0.4091, allocations: 71.14 kB / 0.4906 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/0.4111, allocations: 1.178 MB / 0.4917 GB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.4111, allocations: 2.25 kB / 0.4917 GB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-05/0.4112, allocations: 30.14 kB / 0.4918 GB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001254/0.4113, allocations: 71.23 kB / 0.4918 GB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002114/0.4134, allocations: 1.249 MB / 0.493 GB, free: 9.461 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006238/0.4197, allocations: 3.508 MB / 0.4965 GB, free: 7.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/0.4215, allocations: 1.077 MB / 0.4975 GB, free: 6.379 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008288/0.4223, allocations: 0.6605 MB / 0.4982 GB, free: 5.711 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.911e-05/0.4224, allocations: 17 kB / 0.4982 GB, free: 5.691 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/0.4225, allocations: 47.78 kB / 0.4982 GB, free: 5.637 MB / 330.7 MB Notification: Performance of pre-optimization done (n=91): time 3.346e-06/0.4225, allocations: 0 / 0.4982 GB, free: 5.637 MB / 330.7 MB Notification: Performance of matching and sorting (n=92): time 0.006366/0.4289, allocations: 3.083 MB / 0.5012 GB, free: 2.527 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.4289, allocations: 98.05 kB / 0.5013 GB, free: 2.414 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003767/0.4293, allocations: 361.6 kB / 0.5017 GB, free: 2.055 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.059e-05/0.4294, allocations: 37.7 kB / 0.5017 GB, free: 2.012 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.4296, allocations: 320.1 kB / 0.502 GB, free: 1.691 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000291/0.4299, allocations: 315.4 kB / 0.5023 GB, free: 1.379 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/0.4301, allocations: 154.6 kB / 0.5025 GB, free: 1.223 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.4303, allocations: 362.8 kB / 0.5028 GB, free: 0.8594 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006336/0.4309, allocations: 473.7 kB / 0.5033 GB, free: 404 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007391/0.4317, allocations: 0.5657 MB / 0.5038 GB, free: 15.8 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/0.4332, allocations: 1.117 MB / 0.5049 GB, free: 14.65 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4332, allocations: 0 / 0.5049 GB, free: 14.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00247/0.4357, allocations: 1.485 MB / 0.5064 GB, free: 13.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.4357, allocations: 4 kB / 0.5064 GB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.4358, allocations: 4 kB / 0.5064 GB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009595/0.4367, allocations: 336.8 kB / 0.5067 GB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007041/0.4374, allocations: 179.7 kB / 0.5069 GB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006457/0.4439, allocations: 3.871 MB / 0.5106 GB, free: 8.613 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007282/0.4447, allocations: 43.95 kB / 0.5107 GB, free: 8.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.4448, allocations: 35.98 kB / 0.5107 GB, free: 8.535 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007538/0.4456, allocations: 293.5 kB / 0.511 GB, free: 8.238 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002324/0.4458, allocations: 59.25 kB / 0.5111 GB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003369/0.4492, allocations: 1.567 MB / 0.5126 GB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/0.4492, allocations: 12 kB / 0.5126 GB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.898e-05/0.4493, allocations: 4 kB / 0.5126 GB, free: 6.582 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/0.4493, allocations: 3.984 kB / 0.5126 GB, free: 6.578 MB / 346.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006104/0.4554, allocations: 3.04 MB / 0.5156 GB, free: 3.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.4554, allocations: 8.094 kB / 0.5156 GB, free: 3.402 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006335/0.4561, allocations: 167.8 kB / 0.5157 GB, free: 3.238 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008231/0.4569, allocations: 284.5 kB / 0.516 GB, free: 2.957 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.77e-05/0.457, allocations: 27.98 kB / 0.516 GB, free: 2.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005035/0.462, allocations: 3.603 MB / 0.5196 GB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.4621, allocations: 4 kB / 0.5196 GB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004192/0.4663, allocations: 2.891 MB / 0.5224 GB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003477/0.4666, allocations: 144.3 kB / 0.5225 GB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/0.4668, allocations: 20 kB / 0.5225 GB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005589/0.4673, allocations: 39.95 kB / 0.5226 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001866/0.4675, allocations: 92.7 kB / 0.5227 GB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.419e-05/0.4676, allocations: 32 kB / 0.5227 GB, free: 11.83 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003478/0.468, allocations: 259.1 kB / 0.5229 GB, free: 11.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.468, allocations: 0 / 0.5229 GB, free: 11.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001409/0.4694, allocations: 311.9 kB / 0.5232 GB, free: 11.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002063/0.4696, allocations: 131 kB / 0.5234 GB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002432/0.4721, allocations: 1.389 MB / 0.5247 GB, free: 9.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.4721, allocations: 0.5625 kB / 0.5247 GB, free: 9.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.4734, allocations: 0.8389 MB / 0.5255 GB, free: 8.887 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007866/0.4742, allocations: 107.3 kB / 0.5256 GB, free: 8.781 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004196/0.4784, allocations: 2.684 MB / 0.5283 GB, free: 6.012 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/0.4794, allocations: 1.105 MB / 0.5293 GB, free: 4.879 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005532/0.48, allocations: 180.6 kB / 0.5295 GB, free: 4.703 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.4802, allocations: 63.41 kB / 0.5296 GB, free: 4.641 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/0.4802, allocations: 0 / 0.5296 GB, free: 4.641 MB / 362.7 MB Notification: Performance of Templates: time 0.02074/0.501, allocations: 10.15 MB / 0.5395 GB, free: 10.5 MB / 378.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches