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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001739/0.001739, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.607/1.607, allocations: 205.1 MB / 223.1 MB, free: 8.457 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 93.73 kB / 270.5 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1867/0.1867, allocations: 38 MB / 355.8 MB, free: 2.918 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009843/0.0009848, allocations: 51.92 kB / 421.9 MB, free: 37.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3278, allocations: 55.24 MB / 477.1 MB, free: 9.895 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.01081/0.3386, allocations: 7.764 MB / 484.9 MB, free: 4.43 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007704/0.3464, allocations: 4.287 MB / 489.2 MB, free: 1.41 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009481/0.3475, allocations: 17.22 kB / 489.2 MB, free: 1.406 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002953/0.3504, allocations: 0.9816 MB / 490.2 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003498/0.3539, allocations: 1.049 MB / 491.2 MB, free: 272 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009589/0.3549, allocations: 275.1 kB / 491.5 MB, free: 124 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004172/0.3591, allocations: 2.565 MB / 494 MB, free: 15.4 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006968/0.3598, allocations: 270.6 kB / 494.3 MB, free: 15.28 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.361, allocations: 463.4 kB / 494.8 MB, free: 15.09 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.3622, allocations: 0.6257 MB / 495.4 MB, free: 14.87 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.648e-05/0.3622, allocations: 28.72 kB / 495.4 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002767/0.365, allocations: 1.244 MB / 496.6 MB, free: 14.36 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004448/0.3655, allocations: 264.4 kB / 496.9 MB, free: 14.22 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000319/0.3658, allocations: 240.4 kB / 497.1 MB, free: 14.07 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001634/0.3675, allocations: 0.8845 MB / 498 MB, free: 13.56 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3675, allocations: 0 / 498 MB, free: 13.56 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3675, allocations: 3.938 kB / 498 MB, free: 13.56 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.3675, allocations: 1.219 kB / 498 MB, free: 13.56 MB / 330.7 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.001366/0.3689, allocations: 0.8086 MB / 498.8 MB, free: 12.88 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.3689, allocations: 9.438 kB / 498.8 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001525/0.3705, allocations: 126.3 kB / 499 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004751/0.3709, allocations: 328.5 kB / 499.3 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/0.371, allocations: 30.39 kB / 499.3 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.957e-05/0.3711, allocations: 42.05 kB / 499.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00093/0.372, allocations: 0.5906 MB / 500 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.372, allocations: 1.25 kB / 500 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.164e-05/0.3721, allocations: 17.19 kB / 500 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-05/0.3722, allocations: 37 kB / 0.4883 GB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006024/0.3728, allocations: 384.8 kB / 0.4887 GB, free: 11.83 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002676/0.3755, allocations: 2.605 MB / 0.4912 GB, free: 9.488 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007509/0.3762, allocations: 445.5 kB / 0.4916 GB, free: 9.227 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003345/0.3766, allocations: 207.9 kB / 0.4918 GB, free: 9.113 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.3766, allocations: 11.38 kB / 0.4918 GB, free: 9.105 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.05e-05/0.3767, allocations: 37.19 kB / 0.4919 GB, free: 9.062 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 2.114e-06/0.3767, allocations: 0 / 0.4919 GB, free: 9.062 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.001823/0.3785, allocations: 0.7555 MB / 0.4926 GB, free: 8.621 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/0.3786, allocations: 106.8 kB / 0.4927 GB, free: 8.496 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003578/0.3789, allocations: 323.6 kB / 0.493 GB, free: 8.281 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.379, allocations: 35.27 kB / 0.4931 GB, free: 8.242 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.3792, allocations: 247.5 kB / 0.4933 GB, free: 8.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.3793, allocations: 114.2 kB / 0.4934 GB, free: 7.922 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.3794, allocations: 83.09 kB / 0.4935 GB, free: 7.867 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.3796, allocations: 348 kB / 0.4938 GB, free: 7.527 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/0.3799, allocations: 131.9 kB / 0.4939 GB, free: 7.461 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004434/0.3804, allocations: 277.2 kB / 0.4942 GB, free: 7.207 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006856/0.3811, allocations: 463.1 kB / 0.4946 GB, free: 6.852 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.3811, allocations: 1.156 kB / 0.4946 GB, free: 6.852 MB / 330.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009929/0.3821, allocations: 0.5602 MB / 0.4952 GB, free: 6.551 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.3821, allocations: 10.75 kB / 0.4952 GB, free: 6.547 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.3821, allocations: 5.75 kB / 0.4952 GB, free: 6.547 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004126/0.3826, allocations: 121 kB / 0.4953 GB, free: 6.496 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.3828, allocations: 74.41 kB / 0.4954 GB, free: 6.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002874/0.3857, allocations: 2.349 MB / 0.4977 GB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/0.386, allocations: 43.78 kB / 0.4977 GB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.628e-05/0.3861, allocations: 20.41 kB / 0.4977 GB, free: 4.426 MB / 330.7 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.0002619/0.3863, allocations: 194.8 kB / 0.4979 GB, free: 4.262 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.3865, allocations: 32.12 kB / 0.498 GB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.3866, allocations: 50.95 kB / 0.498 GB, free: 4.207 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.3866, allocations: 8.109 kB / 0.498 GB, free: 4.203 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.888e-05/0.3866, allocations: 2.812 kB / 0.498 GB, free: 4.203 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3866, allocations: 4 kB / 0.498 GB, free: 4.199 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.3883, allocations: 0.9497 MB / 0.499 GB, free: 3.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.3884, allocations: 1.375 kB / 0.499 GB, free: 3.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.3885, allocations: 38.64 kB / 0.499 GB, free: 3.488 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002977/0.3888, allocations: 109.1 kB / 0.4991 GB, free: 3.438 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/0.3889, allocations: 6.719 kB / 0.4991 GB, free: 3.434 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00326/0.3921, allocations: 2.332 MB / 0.5014 GB, free: 1.438 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/0.3922, allocations: 9.234 kB / 0.5014 GB, free: 1.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.394, allocations: 1.397 MB / 0.5028 GB, free: 244 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.3942, allocations: 124.5 kB / 0.5029 GB, free: 100 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.482e-05/0.3943, allocations: 8 kB / 0.5029 GB, free: 92 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.3945, allocations: 11.94 kB / 0.5029 GB, free: 80 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/0.3945, allocations: 19.97 kB / 0.5029 GB, free: 60 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.3945, allocations: 11.98 kB / 0.5029 GB, free: 48 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002861/0.3948, allocations: 231 kB / 0.5031 GB, free: 15.82 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3949, allocations: 0 / 0.5031 GB, free: 15.82 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009655/0.3958, allocations: 155.8 kB / 0.5033 GB, free: 15.67 MB / 346.7 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.0001459/0.396, allocations: 103.5 kB / 0.5034 GB, free: 15.55 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001149/0.3971, allocations: 0.5145 MB / 0.5039 GB, free: 15.03 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.3972, allocations: 0 / 0.5039 GB, free: 15.03 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005114/0.3977, allocations: 343 kB / 0.5042 GB, free: 14.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007142/0.3984, allocations: 66.38 kB / 0.5043 GB, free: 14.61 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.4003, allocations: 1.229 MB / 0.5055 GB, free: 13.33 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006672/0.401, allocations: 0.8902 MB / 0.5063 GB, free: 12.41 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002117/0.4012, allocations: 74.89 kB / 0.5064 GB, free: 12.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.175e-05/0.4013, allocations: 23.44 kB / 0.5064 GB, free: 12.32 MB / 346.7 MB Notification: Performance of SimCode: time 5.01e-07/0.4013, allocations: 192 / 0.5064 GB, free: 12.32 MB / 346.7 MB Notification: Performance of Templates: time 0.009611/0.4109, allocations: 3.751 MB / 0.5101 GB, free: 8.57 MB / 346.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_d.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches