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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 102.5 kB / 17.74 MB, free: 5.32 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.001626/0.001627, allocations: 197.2 kB / 18.67 MB, free: 4.395 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.313/1.313, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1728/0.1728, allocations: 38.04 MB / 330.6 MB, free: 8.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 71.88 kB / 458.8 MB, free: 6.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2985, allocations: 58.05 MB / 0.5048 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.0067/0.3052, allocations: 7.419 MB / 0.512 GB, free: 2.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005063/0.3103, allocations: 4.387 MB / 0.5163 GB, free: 15.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004617/0.3108, allocations: 21.09 kB / 0.5163 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002657/0.3135, allocations: 1.032 MB / 0.5173 GB, free: 14.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003066/0.3166, allocations: 1.199 MB / 0.5185 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009246/0.3175, allocations: 319.4 kB / 0.5188 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002067/0.3196, allocations: 1.405 MB / 0.5202 GB, free: 13.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009792/0.3206, allocations: 0.658 MB / 0.5208 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008581/0.3215, allocations: 0.6237 MB / 0.5214 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008518/0.3223, allocations: 0.6742 MB / 0.5221 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.3224, allocations: 63.59 kB / 0.5222 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00239/0.3248, allocations: 1.326 MB / 0.5235 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005254/0.3254, allocations: 482.2 kB / 0.5239 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000465/0.3259, allocations: 441 kB / 0.5243 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002099/0.328, allocations: 1.453 MB / 0.5258 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.328, allocations: 1.125 kB / 0.5258 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.328, allocations: 0 / 0.5258 GB, free: 11.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.328, allocations: 0 / 0.5258 GB, free: 11.24 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001772/0.3298, allocations: 1.135 MB / 0.5269 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.3298, allocations: 13.36 kB / 0.5269 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003227/0.3331, allocations: 386.7 kB / 0.5272 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009193/0.334, allocations: 488.5 kB / 0.5277 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.479e-05/0.3341, allocations: 55.48 kB / 0.5278 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.3342, allocations: 74.73 kB / 0.5278 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/0.3361, allocations: 1.187 MB / 0.529 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.3361, allocations: 2.109 kB / 0.529 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.014e-05/0.3362, allocations: 29.36 kB / 0.529 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001032/0.3363, allocations: 69.91 kB / 0.5291 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002079/0.3384, allocations: 1.244 MB / 0.5303 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00627/0.3447, allocations: 3.493 MB / 0.5337 GB, free: 6.633 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001773/0.3465, allocations: 1.058 MB / 0.5347 GB, free: 6.074 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008782/0.3474, allocations: 0.6627 MB / 0.5354 GB, free: 5.734 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.81e-05/0.3475, allocations: 15.89 kB / 0.5354 GB, free: 5.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.3475, allocations: 46.88 kB / 0.5355 GB, free: 5.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=91): time 3.526e-06/0.3475, allocations: 1.781 kB / 0.5355 GB, free: 5.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=92): time 0.006686/0.3542, allocations: 3.083 MB / 0.5385 GB, free: 4.047 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.3543, allocations: 91.33 kB / 0.5386 GB, free: 3.945 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004156/0.3547, allocations: 363.2 kB / 0.5389 GB, free: 3.719 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.011e-05/0.3548, allocations: 44.39 kB / 0.5389 GB, free: 3.672 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.355, allocations: 322.4 kB / 0.5393 GB, free: 3.383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002797/0.3553, allocations: 312.3 kB / 0.5395 GB, free: 3.113 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002522/0.3555, allocations: 159 kB / 0.5397 GB, free: 3.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3557, allocations: 366.2 kB / 0.5401 GB, free: 2.668 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007091/0.3564, allocations: 466.9 kB / 0.5405 GB, free: 2.449 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008206/0.3572, allocations: 0.5733 MB / 0.5411 GB, free: 2.105 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/0.359, allocations: 1.109 MB / 0.5421 GB, free: 1.504 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.359, allocations: 0 / 0.5421 GB, free: 1.504 MB / 398.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002558/0.3615, allocations: 1.48 MB / 0.5436 GB, free: 472 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3616, allocations: 7.984 kB / 0.5436 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.3616, allocations: 4 kB / 0.5436 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009102/0.3625, allocations: 334.4 kB / 0.5439 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006986/0.3632, allocations: 179.7 kB / 0.5441 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005278/0.3685, allocations: 4.19 MB / 0.5482 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005871/0.3691, allocations: 39.95 kB / 0.5482 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.138e-05/0.3692, allocations: 39.98 kB / 0.5483 GB, free: 11.51 MB / 414.1 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.0004987/0.3697, allocations: 297.6 kB / 0.5485 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.3698, allocations: 55.34 kB / 0.5486 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002696/0.3726, allocations: 1.571 MB / 0.5501 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.3726, allocations: 11.91 kB / 0.5501 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.3726, allocations: 4 kB / 0.5501 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002145/0.3728, allocations: 144.3 kB / 0.5503 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.966e-05/0.3729, allocations: 16 kB / 0.5503 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004112/0.3733, allocations: 39.95 kB / 0.5503 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.3735, allocations: 88.86 kB / 0.5504 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003059/0.3766, allocations: 1.723 MB / 0.5521 GB, free: 7.516 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002425/0.379, allocations: 1.943 MB / 0.554 GB, free: 5.551 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006681/0.3797, allocations: 0.5347 MB / 0.5545 GB, free: 5.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002923/0.38, allocations: 255.2 kB / 0.5548 GB, free: 4.77 MB / 414.1 MB Notification: Performance of Backend: time 6.01e-07/0.38, allocations: 0 / 0.5548 GB, free: 4.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003757/0.3838, allocations: 1.574 MB / 0.5563 GB, free: 3.18 MB / 414.1 MB Notification: Performance of SimCode: time 0.002655/0.3864, allocations: 1.937 MB / 0.5582 GB, free: 1.199 MB / 414.1 MB Notification: Performance of Templates: time 0.02491/0.4114, allocations: 16.34 MB / 0.5741 GB, free: 0.8633 MB / 430.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches