Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001176, allocations: 110.9 kB / 17.75 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 186.6 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1808/0.1808, allocations: 38.04 MB / 330.6 MB, free: 8.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 59.91 kB / 458.8 MB, free: 6.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3591, allocations: 58.06 MB / 0.5048 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.007149/0.3663, allocations: 7.556 MB / 0.5122 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005043/0.3714, allocations: 4.153 MB / 0.5162 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000459/0.3719, allocations: 16.56 kB / 0.5162 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002613/0.3745, allocations: 1.039 MB / 0.5173 GB, free: 14.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002733/0.3772, allocations: 1.113 MB / 0.5183 GB, free: 14.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009774/0.3782, allocations: 301.1 kB / 0.5186 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001936/0.3802, allocations: 1.369 MB / 0.52 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008898/0.3811, allocations: 456.5 kB / 0.5204 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.3821, allocations: 0.5687 MB / 0.521 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008636/0.383, allocations: 0.5815 MB / 0.5215 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.69e-05/0.3831, allocations: 34.78 kB / 0.5216 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001984/0.3851, allocations: 0.9928 MB / 0.5225 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004307/0.3855, allocations: 269.9 kB / 0.5228 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000325/0.3858, allocations: 247.3 kB / 0.523 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.3873, allocations: 0.8165 MB / 0.5238 GB, free: 11.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3874, allocations: 0.875 kB / 0.5238 GB, free: 11.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3874, allocations: 0 / 0.5238 GB, free: 11.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.3874, allocations: 0 / 0.5238 GB, free: 11.96 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001379/0.3888, allocations: 0.7993 MB / 0.5246 GB, free: 11.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.3888, allocations: 14.3 kB / 0.5246 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/0.3905, allocations: 138.4 kB / 0.5247 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006718/0.3912, allocations: 327.4 kB / 0.5251 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.931e-05/0.3913, allocations: 30.2 kB / 0.5251 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.745e-05/0.3914, allocations: 40.66 kB / 0.5251 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009493/0.3923, allocations: 0.592 MB / 0.5257 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.3924, allocations: 1.375 kB / 0.5257 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.071e-05/0.3924, allocations: 16.11 kB / 0.5257 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.952e-05/0.3925, allocations: 40.58 kB / 0.5258 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005989/0.3931, allocations: 389 kB / 0.5261 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002695/0.3958, allocations: 2.588 MB / 0.5287 GB, free: 8.359 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007671/0.3966, allocations: 430.1 kB / 0.5291 GB, free: 8.164 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003379/0.3969, allocations: 208 kB / 0.5293 GB, free: 8.078 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.397, allocations: 8.016 kB / 0.5293 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.397, allocations: 45.55 kB / 0.5293 GB, free: 8.023 MB / 398.1 MB Notification: Performance of pre-optimization done (n=33): time 2.425e-06/0.397, allocations: 0 / 0.5293 GB, free: 8.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.001762/0.3988, allocations: 0.7631 MB / 0.5301 GB, free: 7.688 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.3988, allocations: 106.1 kB / 0.5302 GB, free: 7.562 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003544/0.3992, allocations: 317 kB / 0.5305 GB, free: 7.402 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.3992, allocations: 31.05 kB / 0.5305 GB, free: 7.367 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.3994, allocations: 255.2 kB / 0.5307 GB, free: 7.152 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.3995, allocations: 114.8 kB / 0.5308 GB, free: 7.062 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.3997, allocations: 89.59 kB / 0.5309 GB, free: 7.004 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3998, allocations: 346.7 kB / 0.5313 GB, free: 6.676 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.4, allocations: 133.1 kB / 0.5314 GB, free: 6.633 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003133/0.4003, allocations: 282.4 kB / 0.5317 GB, free: 6.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005878/0.4009, allocations: 452.1 kB / 0.5321 GB, free: 6.086 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.4009, allocations: 1.469 kB / 0.5321 GB, free: 6.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009/0.4019, allocations: 0.5598 MB / 0.5326 GB, free: 5.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.4019, allocations: 8.969 kB / 0.5326 GB, free: 5.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.4019, allocations: 8.031 kB / 0.5327 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000334/0.4022, allocations: 118 kB / 0.5328 GB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.4025, allocations: 77.22 kB / 0.5328 GB, free: 5.801 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002672/0.4052, allocations: 2.559 MB / 0.5353 GB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/0.4054, allocations: 48.34 kB / 0.5354 GB, free: 3.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/0.4055, allocations: 20.03 kB / 0.5354 GB, free: 3.75 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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 {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002494/0.4057, allocations: 198.1 kB / 0.5356 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.241e-05/0.4058, allocations: 37.41 kB / 0.5356 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.4059, allocations: 50.27 kB / 0.5357 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.4059, allocations: 1.156 kB / 0.5357 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4059, allocations: 4 kB / 0.5357 GB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.406, allocations: 121.6 kB / 0.5358 GB, free: 3.395 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.264e-05/0.4061, allocations: 5.969 kB / 0.5358 GB, free: 3.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.4063, allocations: 6.188 kB / 0.5358 GB, free: 3.387 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.226e-05/0.4064, allocations: 25.83 kB / 0.5358 GB, free: 3.375 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009717/0.4073, allocations: 0.7059 MB / 0.5365 GB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007417/0.4081, allocations: 0.8123 MB / 0.5373 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001958/0.4083, allocations: 137.7 kB / 0.5374 GB, free: 2.219 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002363/0.4085, allocations: 225.8 kB / 0.5377 GB, free: 2.07 MB / 398.1 MB Notification: Performance of Backend: time 7.21e-07/0.4085, allocations: 0 / 0.5377 GB, free: 2.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002057/0.4106, allocations: 0.8167 MB / 0.5385 GB, free: 1.566 MB / 398.1 MB Notification: Performance of SimCode: time 0.001554/0.4122, allocations: 1.282 MB / 0.5397 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of Templates: time 0.01285/0.425, allocations: 7.067 MB / 0.5466 GB, free: 12.95 MB / 414.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_d.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches