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.001457/0.001457, allocations: 107 kB / 17.74 MB, free: 5.312 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.001601/0.001601, allocations: 194.5 kB / 18.68 MB, free: 4.387 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.301/1.301, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1705/0.1705, allocations: 38.04 MB / 330.6 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.89 kB / 458.9 MB, free: 6.816 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2814, allocations: 58.05 MB / 0.5048 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.006353/0.2878, allocations: 7.42 MB / 0.512 GB, free: 2.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005091/0.2929, allocations: 4.397 MB / 0.5163 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004747/0.2934, allocations: 11.94 kB / 0.5163 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002535/0.2959, allocations: 1.037 MB / 0.5173 GB, free: 14.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003437/0.2994, allocations: 1.211 MB / 0.5185 GB, free: 14.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.3005, allocations: 324.7 kB / 0.5188 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002088/0.3026, allocations: 1.402 MB / 0.5202 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.3036, allocations: 0.6564 MB / 0.5209 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00114/0.3048, allocations: 0.6224 MB / 0.5215 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008414/0.3056, allocations: 0.6825 MB / 0.5221 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.794e-05/0.3058, allocations: 62.75 kB / 0.5222 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002662/0.3084, allocations: 1.328 MB / 0.5235 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005168/0.309, allocations: 480.2 kB / 0.5239 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004951/0.3095, allocations: 438.6 kB / 0.5244 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002344/0.3118, allocations: 1.46 MB / 0.5258 GB, free: 11.22 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3118, allocations: 5.375 kB / 0.5258 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3118, allocations: 0 / 0.5258 GB, free: 11.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.765e-05/0.3119, allocations: 0 / 0.5258 GB, free: 11.21 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.001634/0.3135, allocations: 1.153 MB / 0.5269 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.3135, allocations: 13.73 kB / 0.5269 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003059/0.3166, allocations: 389.7 kB / 0.5273 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000743/0.3174, allocations: 489.7 kB / 0.5278 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.32e-05/0.3174, allocations: 55.36 kB / 0.5278 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.3176, allocations: 75.61 kB / 0.5279 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/0.3194, allocations: 1.186 MB / 0.5291 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/0.3194, allocations: 2.5 kB / 0.5291 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.171e-05/0.3195, allocations: 30.3 kB / 0.5291 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.28e-05/0.3196, allocations: 74.03 kB / 0.5292 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/0.3214, allocations: 1.245 MB / 0.5304 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00517/0.3266, allocations: 3.497 MB / 0.5338 GB, free: 6.602 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.3283, allocations: 1.059 MB / 0.5348 GB, free: 6.043 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009169/0.3292, allocations: 0.6588 MB / 0.5355 GB, free: 5.707 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.92e-05/0.3293, allocations: 18.94 kB / 0.5355 GB, free: 5.699 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.3294, allocations: 47.38 kB / 0.5355 GB, free: 5.648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=91): time 2.805e-06/0.3294, allocations: 0 / 0.5355 GB, free: 5.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=92): time 0.006698/0.3361, allocations: 3.106 MB / 0.5386 GB, free: 3.996 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.3362, allocations: 87.33 kB / 0.5386 GB, free: 3.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000411/0.3366, allocations: 362.9 kB / 0.539 GB, free: 3.672 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.419e-05/0.3367, allocations: 40.45 kB / 0.539 GB, free: 3.629 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.3369, allocations: 323.3 kB / 0.5393 GB, free: 3.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000301/0.3372, allocations: 325 kB / 0.5396 GB, free: 3.059 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002489/0.3374, allocations: 164.7 kB / 0.5398 GB, free: 2.961 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.3376, allocations: 369.9 kB / 0.5402 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006837/0.3383, allocations: 467 kB / 0.5406 GB, free: 2.387 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007687/0.3391, allocations: 0.5697 MB / 0.5412 GB, free: 2.047 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/0.3406, allocations: 1.113 MB / 0.5422 GB, free: 1.441 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.3406, allocations: 0 / 0.5422 GB, free: 1.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002491/0.3431, allocations: 1.481 MB / 0.5437 GB, free: 380 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3431, allocations: 4 kB / 0.5437 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3432, allocations: 7.938 kB / 0.5437 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009209/0.3441, allocations: 330.4 kB / 0.544 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007083/0.3448, allocations: 187.7 kB / 0.5442 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005299/0.3501, allocations: 4.204 MB / 0.5483 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005176/0.3507, allocations: 39.95 kB / 0.5483 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.969e-05/0.3507, allocations: 44.05 kB / 0.5484 GB, free: 11.4 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.0004635/0.3512, allocations: 285.6 kB / 0.5487 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.3514, allocations: 67.61 kB / 0.5487 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002651/0.354, allocations: 1.563 MB / 0.5502 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.354, allocations: 3.984 kB / 0.5502 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3541, allocations: 0 / 0.5502 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001815/0.3542, allocations: 144.7 kB / 0.5504 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.3544, allocations: 20 kB / 0.5504 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004136/0.3548, allocations: 43.94 kB / 0.5504 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.3549, allocations: 84.86 kB / 0.5505 GB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00307/0.358, allocations: 1.727 MB / 0.5522 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002456/0.3605, allocations: 1.959 MB / 0.5541 GB, free: 5.438 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007036/0.3612, allocations: 0.5269 MB / 0.5546 GB, free: 4.914 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002815/0.3615, allocations: 255.1 kB / 0.5549 GB, free: 4.664 MB / 414.1 MB Notification: Performance of Backend: time 5.41e-07/0.3615, allocations: 0 / 0.5549 GB, free: 4.664 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003537/0.365, allocations: 1.58 MB / 0.5564 GB, free: 3.066 MB / 414.1 MB Notification: Performance of SimCode: time 0.002668/0.3677, allocations: 1.982 MB / 0.5584 GB, free: 1.039 MB / 414.1 MB Notification: Performance of Templates: time 0.02455/0.3923, allocations: 16.32 MB / 0.5743 GB, free: 0.7148 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