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.001318/0.001318, allocations: 112.2 kB / 17.74 MB, free: 5.344 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.001273/0.001273, allocations: 187.1 kB / 18.67 MB, free: 4.422 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.321/1.321, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1757/0.1757, allocations: 38.04 MB / 330.6 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 59.91 kB / 458.8 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3142, allocations: 58.06 MB / 0.5048 GB, free: 7.652 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.0072/0.3215, allocations: 7.567 MB / 0.5122 GB, free: 2.367 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005146/0.3267, allocations: 4.15 MB / 0.5162 GB, free: 15.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004884/0.3272, allocations: 21.72 kB / 0.5162 GB, free: 15.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002593/0.3298, allocations: 1.027 MB / 0.5172 GB, free: 14.81 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002922/0.3327, allocations: 1.096 MB / 0.5183 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.3339, allocations: 301.2 kB / 0.5186 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002281/0.3361, allocations: 1.372 MB / 0.5199 GB, free: 13.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.3372, allocations: 460 kB / 0.5204 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001401/0.3386, allocations: 0.5661 MB / 0.5209 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/0.3398, allocations: 0.5881 MB / 0.5215 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.3399, allocations: 34.19 kB / 0.5215 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002232/0.3422, allocations: 0.9838 MB / 0.5225 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005694/0.3427, allocations: 271.3 kB / 0.5228 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005894/0.3433, allocations: 244.5 kB / 0.523 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00202/0.3454, allocations: 0.817 MB / 0.5238 GB, free: 11.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3454, allocations: 0 / 0.5238 GB, free: 11.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3454, allocations: 1.5 kB / 0.5238 GB, free: 11.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.93e-05/0.3454, allocations: 4 kB / 0.5238 GB, free: 11.86 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.001797/0.3472, allocations: 0.8037 MB / 0.5246 GB, free: 11.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.3473, allocations: 9.625 kB / 0.5246 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001805/0.3491, allocations: 136.6 kB / 0.5247 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006362/0.3497, allocations: 333.6 kB / 0.525 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.648e-05/0.3498, allocations: 34.56 kB / 0.5251 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.551e-05/0.3499, allocations: 38.48 kB / 0.5251 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009605/0.3508, allocations: 0.5808 MB / 0.5257 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.3509, allocations: 5.344 kB / 0.5257 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.388e-05/0.3509, allocations: 24.97 kB / 0.5257 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.347e-05/0.351, allocations: 33.72 kB / 0.5257 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006455/0.3517, allocations: 384.1 kB / 0.5261 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002715/0.3544, allocations: 2.592 MB / 0.5286 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006943/0.3551, allocations: 426 kB / 0.529 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003151/0.3554, allocations: 207.1 kB / 0.5292 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.3554, allocations: 8.266 kB / 0.5292 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.3555, allocations: 41.53 kB / 0.5293 GB, free: 7.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=33): time 2.425e-06/0.3555, allocations: 0 / 0.5293 GB, free: 7.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.001795/0.3573, allocations: 0.7624 MB / 0.53 GB, free: 7.594 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/0.3574, allocations: 111.6 kB / 0.5301 GB, free: 7.465 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003944/0.3578, allocations: 321.5 kB / 0.5304 GB, free: 7.301 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.534e-05/0.3578, allocations: 30.89 kB / 0.5305 GB, free: 7.266 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.358, allocations: 253.8 kB / 0.5307 GB, free: 7.051 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.3581, allocations: 120.8 kB / 0.5308 GB, free: 6.957 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.3583, allocations: 80.69 kB / 0.5309 GB, free: 6.906 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3584, allocations: 350.4 kB / 0.5312 GB, free: 6.574 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.3586, allocations: 129 kB / 0.5314 GB, free: 6.535 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/0.359, allocations: 283.1 kB / 0.5316 GB, free: 6.301 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005664/0.3595, allocations: 455.5 kB / 0.5321 GB, free: 5.984 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-06/0.3596, allocations: 6.406 kB / 0.5321 GB, free: 5.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009227/0.3605, allocations: 0.5585 MB / 0.5326 GB, free: 5.742 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.3605, allocations: 7.625 kB / 0.5326 GB, free: 5.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.3605, allocations: 7.094 kB / 0.5326 GB, free: 5.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00036/0.3609, allocations: 120.2 kB / 0.5327 GB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/0.3612, allocations: 77.34 kB / 0.5328 GB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002793/0.364, allocations: 2.555 MB / 0.5353 GB, free: 3.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002965/0.3643, allocations: 44.53 kB / 0.5354 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/0.3643, allocations: 23.59 kB / 0.5354 GB, free: 3.656 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.0002878/0.3646, allocations: 199.2 kB / 0.5356 GB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.3647, allocations: 41.22 kB / 0.5356 GB, free: 3.477 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.3649, allocations: 48.2 kB / 0.5357 GB, free: 3.441 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.3649, allocations: 3.75 kB / 0.5357 GB, free: 3.441 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/0.3649, allocations: 3.875 kB / 0.5357 GB, free: 3.441 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.3649, allocations: 7.922 kB / 0.5357 GB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.3663, allocations: 0.9414 MB / 0.5366 GB, free: 2.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.3663, allocations: 5.078 kB / 0.5366 GB, free: 2.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.3665, allocations: 36.14 kB / 0.5366 GB, free: 2.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002534/0.3667, allocations: 108.1 kB / 0.5367 GB, free: 2.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.3668, allocations: 10.44 kB / 0.5367 GB, free: 2.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002485/0.3693, allocations: 2.553 MB / 0.5392 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.3693, allocations: 1.125 kB / 0.5392 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007838/0.3701, allocations: 0.6369 MB / 0.5399 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.3702, allocations: 113.2 kB / 0.54 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.576e-05/0.3703, allocations: 15.38 kB / 0.54 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.3705, allocations: 14.16 kB / 0.54 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.3705, allocations: 19 kB / 0.54 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.3706, allocations: 11.03 kB / 0.54 GB, free: 15.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002633/0.3708, allocations: 221.2 kB / 0.5402 GB, free: 15.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3708, allocations: 7.875 kB / 0.5402 GB, free: 15.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008106/0.3717, allocations: 160.2 kB / 0.5404 GB, free: 15.68 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 18 * 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 {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001285/0.3718, allocations: 102.6 kB / 0.5405 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009516/0.3728, allocations: 0.5135 MB / 0.541 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.3728, allocations: 5.312 kB / 0.541 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004674/0.3732, allocations: 340.5 kB / 0.5413 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005836/0.3738, allocations: 66.36 kB / 0.5414 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.3754, allocations: 0.871 MB / 0.5422 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000717/0.3761, allocations: 0.8838 MB / 0.5431 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.902e-05/0.3762, allocations: 24.97 kB / 0.5431 GB, free: 13.63 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3762, allocations: 0 / 0.5431 GB, free: 13.63 MB / 414.1 MB Notification: Performance of Templates: time 0.01022/0.3864, allocations: 6.123 MB / 0.5491 GB, free: 10.15 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