Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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_dq,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_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,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_dq") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00209/0.00209, 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.622/1.622, allocations: 205.1 MB / 223.1 MB, free: 8.469 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.001057/0.001057, allocations: 94.3 kB / 270.5 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1805/0.1805, allocations: 38.01 MB / 355.8 MB, free: 2.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 52.16 kB / 421.9 MB, free: 37.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3791, allocations: 55.24 MB / 477.1 MB, free: 9.922 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.009174/0.3884, allocations: 7.636 MB / 484.7 MB, free: 4.531 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008069/0.3965, allocations: 4.541 MB / 489.3 MB, free: 1.355 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001382/0.3979, allocations: 16.31 kB / 489.3 MB, free: 1.352 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002699/0.4008, allocations: 0.9836 MB / 490.3 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004562/0.4053, allocations: 1.145 MB / 491.4 MB, free: 164 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001567/0.4069, allocations: 283.7 kB / 491.7 MB, free: 16 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004707/0.4117, allocations: 2.593 MB / 494.3 MB, free: 15.29 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001457/0.4131, allocations: 0.6551 MB / 494.9 MB, free: 15.02 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/0.4145, allocations: 0.5148 MB / 495.5 MB, free: 14.8 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001376/0.4159, allocations: 0.7381 MB / 496.2 MB, free: 14.54 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001283/0.4161, allocations: 48.78 kB / 496.2 MB, free: 14.54 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004094/0.4202, allocations: 1.611 MB / 497.9 MB, free: 13.73 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009107/0.4211, allocations: 467.5 kB / 498.3 MB, free: 13.46 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006656/0.4218, allocations: 414.8 kB / 498.7 MB, free: 13.21 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003403/0.4252, allocations: 1.538 MB / 0.4885 GB, free: 12.29 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.4252, allocations: 1.125 kB / 0.4885 GB, free: 12.29 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.4252, allocations: 0 / 0.4885 GB, free: 12.29 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.4253, allocations: 4 kB / 0.4885 GB, free: 12.29 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.002135/0.4274, allocations: 1.125 MB / 0.4896 GB, free: 11.4 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.4275, allocations: 10.31 kB / 0.4896 GB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003128/0.4306, allocations: 383.7 kB / 0.49 GB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009422/0.4316, allocations: 481.8 kB / 0.4905 GB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.108e-05/0.4316, allocations: 55.2 kB / 0.4905 GB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.4318, allocations: 74.55 kB / 0.4906 GB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/0.4338, allocations: 1.175 MB / 0.4917 GB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/0.4338, allocations: 1.344 kB / 0.4917 GB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.108e-05/0.4339, allocations: 31.17 kB / 0.4918 GB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001163/0.4341, allocations: 69.98 kB / 0.4918 GB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002045/0.4361, allocations: 1.25 MB / 0.4931 GB, free: 9.453 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005825/0.4419, allocations: 3.507 MB / 0.4965 GB, free: 7.062 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.4439, allocations: 1.083 MB / 0.4975 GB, free: 6.348 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009432/0.4448, allocations: 0.6606 MB / 0.4982 GB, free: 5.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.794e-05/0.4449, allocations: 16.98 kB / 0.4982 GB, free: 5.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/0.445, allocations: 39.56 kB / 0.4982 GB, free: 5.613 MB / 330.7 MB Notification: Performance of pre-optimization done (n=91): time 4.428e-06/0.445, allocations: 0 / 0.4982 GB, free: 5.613 MB / 330.7 MB Notification: Performance of matching and sorting (n=92): time 0.007606/0.4526, allocations: 3.095 MB / 0.5013 GB, free: 2.492 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/0.4528, allocations: 94.23 kB / 0.5013 GB, free: 2.383 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005896/0.4534, allocations: 365.5 kB / 0.5017 GB, free: 2.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.858e-05/0.4535, allocations: 37.7 kB / 0.5017 GB, free: 1.977 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/0.4537, allocations: 320.1 kB / 0.502 GB, free: 1.656 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003133/0.454, allocations: 315.4 kB / 0.5023 GB, free: 1.344 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/0.4543, allocations: 154.6 kB / 0.5025 GB, free: 1.188 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.4545, allocations: 362.8 kB / 0.5028 GB, free: 0.8242 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006866/0.4551, allocations: 469.7 kB / 0.5033 GB, free: 372 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008284/0.456, allocations: 0.5735 MB / 0.5038 GB, free: 15.76 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.4575, allocations: 1.113 MB / 0.5049 GB, free: 14.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.4575, allocations: 0 / 0.5049 GB, free: 14.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002451/0.46, allocations: 1.477 MB / 0.5064 GB, free: 13.13 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.46, allocations: 11.98 kB / 0.5064 GB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.46, allocations: 0 / 0.5064 GB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009878/0.461, allocations: 340.8 kB / 0.5067 GB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007261/0.4618, allocations: 175.7 kB / 0.5069 GB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005346/0.4671, allocations: 3.871 MB / 0.5107 GB, free: 8.582 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006608/0.4678, allocations: 43.95 kB / 0.5107 GB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.993e-05/0.4679, allocations: 35.98 kB / 0.5107 GB, free: 8.504 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.0005803/0.4685, allocations: 293.5 kB / 0.511 GB, free: 8.207 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.4686, allocations: 59.25 kB / 0.5111 GB, free: 8.148 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002827/0.4715, allocations: 1.567 MB / 0.5126 GB, free: 6.566 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.4715, allocations: 8 kB / 0.5126 GB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.4715, allocations: 8 kB / 0.5126 GB, free: 6.551 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.4715, allocations: 7.969 kB / 0.5126 GB, free: 6.543 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.005173/0.4767, allocations: 3.04 MB / 0.5156 GB, free: 3.375 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.4767, allocations: 4.031 kB / 0.5156 GB, free: 3.371 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006232/0.4773, allocations: 171.7 kB / 0.5158 GB, free: 3.203 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007939/0.4781, allocations: 284.5 kB / 0.516 GB, free: 2.922 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-05/0.4782, allocations: 31.98 kB / 0.5161 GB, free: 2.891 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004753/0.483, allocations: 3.591 MB / 0.5196 GB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.483, allocations: 8 kB / 0.5196 GB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003703/0.4867, allocations: 2.891 MB / 0.5224 GB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.4869, allocations: 148.3 kB / 0.5225 GB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.026e-05/0.487, allocations: 20 kB / 0.5226 GB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004319/0.4875, allocations: 39.95 kB / 0.5226 GB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.4876, allocations: 84.78 kB / 0.5227 GB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.005e-05/0.4877, allocations: 35.98 kB / 0.5227 GB, free: 11.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00027/0.488, allocations: 259.1 kB / 0.523 GB, free: 11.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.488, allocations: 0 / 0.523 GB, free: 11.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001125/0.4891, allocations: 311.9 kB / 0.5233 GB, free: 11.24 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.000185/0.4893, allocations: 130.9 kB / 0.5234 GB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002119/0.4915, allocations: 1.393 MB / 0.5247 GB, free: 9.699 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4915, allocations: 0.5625 kB / 0.5247 GB, free: 9.699 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.4926, allocations: 0.8428 MB / 0.5256 GB, free: 8.852 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000718/0.4933, allocations: 103.3 kB / 0.5257 GB, free: 8.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003415/0.4968, allocations: 2.673 MB / 0.5283 GB, free: 5.988 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007445/0.4975, allocations: 1.109 MB / 0.5294 GB, free: 4.852 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000461/0.498, allocations: 180.6 kB / 0.5295 GB, free: 4.676 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.4982, allocations: 63.41 kB / 0.5296 GB, free: 4.613 MB / 362.7 MB Notification: Performance of SimCode: time 1.844e-06/0.4982, allocations: 0 / 0.5296 GB, free: 4.613 MB / 362.7 MB Notification: Performance of Templates: time 0.01767/0.5159, allocations: 10.15 MB / 0.5395 GB, free: 10.46 MB / 378.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches