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.001682/0.001681, allocations: 109 kB / 17.28 MB, free: 6.059 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.001945/0.001945, allocations: 197.3 kB / 18.21 MB, free: 5.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.458/2.458, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.4758/0.4758, allocations: 38.03 MB / 330.1 MB, free: 9.035 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002918/0.002918, allocations: 69.39 kB / 399 MB, free: 34.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2659, allocations: 58.05 MB / 457 MB, free: 8.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.0248/0.2907, allocations: 7.763 MB / 464.8 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01095/0.3017, allocations: 4.198 MB / 469 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009079/0.3109, allocations: 15.94 kB / 469 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004695/0.3156, allocations: 0.9778 MB / 470 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005061/0.3207, allocations: 1.04 MB / 471 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.3224, allocations: 287.3 kB / 471.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002717/0.3251, allocations: 1.363 MB / 472.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001696/0.3269, allocations: 0.5389 MB / 473.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001608/0.3285, allocations: 0.5561 MB / 473.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009811/0.3383, allocations: 0.6267 MB / 474.4 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002618/0.3387, allocations: 36 kB / 474.4 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003599/0.3423, allocations: 0.9855 MB / 475.4 MB, free: 5.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008066/0.3431, allocations: 279.3 kB / 475.7 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007802/0.3439, allocations: 250.8 kB / 475.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001803/0.3458, allocations: 0.6198 MB / 476.5 MB, free: 4.844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.3458, allocations: 0 / 476.5 MB, free: 4.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3458, allocations: 4 kB / 476.5 MB, free: 4.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.107e-05/0.3459, allocations: 0 / 476.5 MB, free: 4.84 MB / 350.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.002279/0.3482, allocations: 0.7961 MB / 477.3 MB, free: 3.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.3482, allocations: 8.031 kB / 477.3 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002902/0.3512, allocations: 136.3 kB / 477.5 MB, free: 3.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007774/0.352, allocations: 330.3 kB / 477.8 MB, free: 3.488 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.506e-05/0.352, allocations: 37.34 kB / 477.8 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.3522, allocations: 36.38 kB / 477.9 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.3537, allocations: 0.5791 MB / 478.4 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.3538, allocations: 4 kB / 478.4 MB, free: 2.762 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.096e-05/0.3539, allocations: 23.98 kB / 478.5 MB, free: 2.738 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001062/0.354, allocations: 40.56 kB / 478.5 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009888/0.355, allocations: 382.1 kB / 478.9 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01283/0.3679, allocations: 2.596 MB / 481.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.369, allocations: 435.6 kB / 481.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004798/0.3695, allocations: 213.3 kB / 482.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.3696, allocations: 4 kB / 482.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.317e-05/0.3696, allocations: 34.56 kB / 482.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 5.2e-06/0.3697, allocations: 4 kB / 482.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.003235/0.3729, allocations: 0.761 MB / 482.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.899e-05/0.373, allocations: 106.8 kB / 483 MB, free: 13.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006039/0.3736, allocations: 320.5 kB / 483.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.403e-05/0.3737, allocations: 33.7 kB / 483.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/0.374, allocations: 251.7 kB / 483.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002031/0.3742, allocations: 114.3 kB / 483.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/0.3745, allocations: 82.19 kB / 483.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002233/0.3747, allocations: 346.8 kB / 484.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004042/0.3751, allocations: 128.8 kB / 484.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000568/0.3757, allocations: 279.4 kB / 484.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.3769, allocations: 464 kB / 485 MB, free: 11.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.3769, allocations: 4 kB / 485 MB, free: 11.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0017/0.3786, allocations: 0.5539 MB / 485.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/0.3787, allocations: 10.66 kB / 485.6 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.3787, allocations: 4 kB / 485.6 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006089/0.3793, allocations: 121.3 kB / 485.7 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004946/0.3799, allocations: 75.91 kB / 485.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004747/0.3846, allocations: 2.563 MB / 488.3 MB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005367/0.3852, allocations: 51.47 kB / 488.4 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.071e-05/0.3853, allocations: 20 kB / 488.4 MB, free: 8.258 MB / 366.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.0004714/0.3858, allocations: 206.7 kB / 488.6 MB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/0.386, allocations: 39.53 kB / 488.6 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/0.3862, allocations: 47.95 kB / 488.7 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/0.3862, allocations: 4 kB / 488.7 MB, free: 7.957 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.362e-05/0.3863, allocations: 4 kB / 488.7 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.3863, allocations: 3.938 kB / 488.7 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002191/0.3885, allocations: 0.934 MB / 489.6 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.3885, allocations: 7.938 kB / 489.6 MB, free: 6.941 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.3887, allocations: 31.92 kB / 489.7 MB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004169/0.3892, allocations: 120.3 kB / 489.8 MB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.56e-05/0.3892, allocations: 8 kB / 489.8 MB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009485/0.3987, allocations: 2.548 MB / 492.3 MB, free: 4.086 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.3988, allocations: 0 / 492.3 MB, free: 4.086 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.4003, allocations: 0.6304 MB / 493 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002775/0.4006, allocations: 116.6 kB / 493.1 MB, free: 3.293 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.381e-05/0.4007, allocations: 15.92 kB / 493.1 MB, free: 3.277 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003695/0.4011, allocations: 4 kB / 493.1 MB, free: 3.273 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.183e-05/0.4012, allocations: 27.95 kB / 493.1 MB, free: 3.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/0.4013, allocations: 8 kB / 493.1 MB, free: 3.238 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004915/0.4018, allocations: 227 kB / 493.3 MB, free: 3.016 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4018, allocations: 0 / 493.3 MB, free: 3.016 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001216/0.403, allocations: 163.7 kB / 493.5 MB, free: 2.855 MB / 366.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.0001738/0.4032, allocations: 99.19 kB / 493.6 MB, free: 2.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00139/0.4046, allocations: 0.5499 MB / 494.2 MB, free: 2.188 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/0.4047, allocations: 0 / 494.2 MB, free: 2.188 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006569/0.4053, allocations: 346.7 kB / 494.5 MB, free: 1.836 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.4064, allocations: 68.03 kB / 494.6 MB, free: 1.773 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.4085, allocations: 1.042 MB / 495.6 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006973/0.4092, allocations: 0.8785 MB / 496.5 MB, free: 15.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.4093, allocations: 23.44 kB / 496.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4093, allocations: 0 / 496.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of Templates: time 0.02259/0.4319, allocations: 6.091 MB / 0.4908 GB, free: 9.652 MB / 382.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