Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001657/0.001657, allocations: 182.5 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.569/1.569, allocations: 205.1 MB / 223.1 MB, free: 8.465 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.001223/0.001223, allocations: 102.3 kB / 270.5 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1879/0.1879, allocations: 38.01 MB / 355.8 MB, free: 2.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001077, allocations: 55.92 kB / 421.9 MB, free: 37.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.4077, allocations: 55.24 MB / 477.1 MB, free: 9.906 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.01029/0.418, allocations: 5.764 MB / 482.9 MB, free: 5.812 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003605/0.4217, allocations: 1.587 MB / 484.5 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004845/0.4222, allocations: 35.12 kB / 484.5 MB, free: 4.672 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005727/0.4229, allocations: 110.1 kB / 484.6 MB, free: 4.617 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008168/0.4237, allocations: 303.1 kB / 484.9 MB, free: 4.465 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005743/0.4243, allocations: 138.2 kB / 485 MB, free: 4.398 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001807/0.4261, allocations: 1.076 MB / 486.1 MB, free: 4.055 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003685/0.4265, allocations: 136.2 kB / 486.2 MB, free: 4.008 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006611/0.4272, allocations: 259 kB / 486.5 MB, free: 3.91 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008867/0.4281, allocations: 461.8 kB / 486.9 MB, free: 3.777 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.54e-05/0.4282, allocations: 28.88 kB / 487 MB, free: 3.777 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.4283, allocations: 28.88 kB / 487 MB, free: 3.777 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003425/0.4287, allocations: 225.9 kB / 487.2 MB, free: 3.707 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003548/0.429, allocations: 258.2 kB / 487.5 MB, free: 3.574 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000845/0.4299, allocations: 0.5873 MB / 488.1 MB, free: 3.367 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.4299, allocations: 0 / 488.1 MB, free: 3.367 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.4299, allocations: 0 / 488.1 MB, free: 3.367 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.4299, allocations: 1.406 kB / 488.1 MB, free: 3.367 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.002371/0.4323, allocations: 0.9503 MB / 489 MB, free: 2.754 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.4324, allocations: 10.5 kB / 489 MB, free: 2.754 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.4325, allocations: 49.94 kB / 489.1 MB, free: 2.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.4338, allocations: 0.5967 MB / 489.7 MB, free: 2.379 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.4338, allocations: 23.28 kB / 489.7 MB, free: 2.371 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.434, allocations: 44.16 kB / 489.7 MB, free: 2.355 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.4353, allocations: 0.5491 MB / 490.3 MB, free: 2.109 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.4353, allocations: 9.469 kB / 490.3 MB, free: 2.102 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.794e-05/0.4354, allocations: 15.34 kB / 490.3 MB, free: 2.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005498/0.436, allocations: 86.06 kB / 490.4 MB, free: 2.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006806/0.4367, allocations: 362.1 kB / 490.7 MB, free: 1.984 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003356/0.44, allocations: 2.051 MB / 492.8 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.4411, allocations: 389.1 kB / 493.2 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006912/0.4418, allocations: 311.6 kB / 493.5 MB, free: 0.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.124e-05/0.4418, allocations: 8.078 kB / 493.5 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.4419, allocations: 44.81 kB / 493.5 MB, free: 456 kB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 2.555e-06/0.4419, allocations: 0 / 493.5 MB, free: 456 kB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.00519/0.4471, allocations: 2.544 MB / 496.1 MB, free: 14.98 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.886e-05/0.4472, allocations: 81.78 kB / 496.2 MB, free: 14.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006796/0.4479, allocations: 385.3 kB / 496.5 MB, free: 14.7 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.282e-05/0.4479, allocations: 38.92 kB / 496.6 MB, free: 14.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000255/0.4482, allocations: 245.1 kB / 496.8 MB, free: 14.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.4484, allocations: 134.6 kB / 496.9 MB, free: 14.36 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/0.4486, allocations: 104.1 kB / 497 MB, free: 14.3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.4488, allocations: 357.2 kB / 497.4 MB, free: 13.97 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004512/0.4492, allocations: 245.8 kB / 497.6 MB, free: 13.87 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005567/0.4498, allocations: 368.6 kB / 498 MB, free: 13.62 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.4509, allocations: 0.6151 MB / 498.6 MB, free: 13.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4509, allocations: 1.156 kB / 498.6 MB, free: 13.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002064/0.453, allocations: 1.01 MB / 499.6 MB, free: 12.78 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.075e-05/0.4531, allocations: 10 kB / 499.6 MB, free: 12.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.4531, allocations: 2.906 kB / 499.6 MB, free: 12.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/0.4542, allocations: 415.9 kB / 0.4883 GB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.4545, allocations: 83.11 kB / 0.4884 GB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006276/0.4608, allocations: 4.74 MB / 0.493 GB, free: 8.852 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006185/0.4615, allocations: 39.2 kB / 0.4931 GB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.237e-05/0.4616, allocations: 21.73 kB / 0.4931 GB, free: 8.824 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005123/0.4621, allocations: 208.1 kB / 0.4933 GB, free: 8.652 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.4622, allocations: 42.77 kB / 0.4933 GB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/0.4639, allocations: 0.8423 MB / 0.4941 GB, free: 8.152 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.464, allocations: 3.469 kB / 0.4941 GB, free: 8.152 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.464, allocations: 6.312 kB / 0.4941 GB, free: 8.148 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.464, allocations: 1.219 kB / 0.4941 GB, free: 8.148 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002448/0.4664, allocations: 1.42 MB / 0.4955 GB, free: 7.238 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.4665, allocations: 1.312 kB / 0.4955 GB, free: 7.238 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.4667, allocations: 38.33 kB / 0.4956 GB, free: 7.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001263/0.4679, allocations: 444.8 kB / 0.496 GB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-05/0.468, allocations: 38.75 kB / 0.496 GB, free: 6.965 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005369/0.4734, allocations: 6.25 MB / 0.5021 GB, free: 360 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.4735, allocations: 320 / 0.5021 GB, free: 360 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01713/0.4906, allocations: 12.77 MB / 0.5146 GB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.4908, allocations: 124.7 kB / 0.5147 GB, free: 2.641 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.681e-05/0.4909, allocations: 31.98 kB / 0.5148 GB, free: 2.609 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003282/0.4913, allocations: 39.88 kB / 0.5148 GB, free: 2.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/0.4915, allocations: 35.88 kB / 0.5148 GB, free: 2.535 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.32e-05/0.4915, allocations: 15.98 kB / 0.5148 GB, free: 2.52 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003366/0.4918, allocations: 263.2 kB / 0.5151 GB, free: 2.262 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4918, allocations: 0 / 0.5151 GB, free: 2.262 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001073/0.4929, allocations: 228 kB / 0.5153 GB, free: 2.039 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * 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 (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00021/0.4931, allocations: 119.2 kB / 0.5154 GB, free: 1.914 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002054/0.4952, allocations: 0.9154 MB / 0.5163 GB, free: 0.9727 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.206e-06/0.4952, allocations: 8.25 kB / 0.5163 GB, free: 0.9648 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001927/0.4972, allocations: 1.078 MB / 0.5174 GB, free: 15.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007589/0.4979, allocations: 121.6 kB / 0.5175 GB, free: 15.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004499/0.5024, allocations: 3.133 MB / 0.5206 GB, free: 12.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006321/0.5031, allocations: 0.8939 MB / 0.5214 GB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003393/0.5034, allocations: 80.34 kB / 0.5215 GB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.5036, allocations: 31.44 kB / 0.5215 GB, free: 11.32 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/0.5036, allocations: 0 / 0.5215 GB, free: 11.32 MB / 362.7 MB Notification: Performance of Templates: time 0.01632/0.5199, allocations: 9.747 MB / 0.5311 GB, free: 1.59 MB / 362.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Line.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches