Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 106.5 kB / 17.74 MB, free: 5.316 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.001792/0.001792, 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.381/1.381, 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.1784/0.1784, allocations: 38.04 MB / 330.6 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 75.88 kB / 458.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3097, allocations: 58.05 MB / 0.5048 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.006054/0.3158, allocations: 5.505 MB / 0.5102 GB, free: 3.941 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002206/0.318, allocations: 1.362 MB / 0.5115 GB, free: 2.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004802/0.3185, allocations: 23.34 kB / 0.5115 GB, free: 2.969 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005281/0.319, allocations: 132.4 kB / 0.5116 GB, free: 2.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.3201, allocations: 382.8 kB / 0.512 GB, free: 2.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004369/0.3206, allocations: 157.4 kB / 0.5122 GB, free: 2.609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009995/0.3216, allocations: 0.7836 MB / 0.5129 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003283/0.3219, allocations: 222.5 kB / 0.5131 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008691/0.3228, allocations: 344.7 kB / 0.5135 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.324, allocations: 408.5 kB / 0.5139 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002408/0.3243, allocations: 43.31 kB / 0.5139 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003836/0.3247, allocations: 40.38 kB / 0.5139 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004945/0.3252, allocations: 205.6 kB / 0.5141 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009091/0.3261, allocations: 269.5 kB / 0.5144 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.3272, allocations: 0.5771 MB / 0.5149 GB, free: 1.395 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3272, allocations: 6.031 kB / 0.515 GB, free: 1.391 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3272, allocations: 0 / 0.515 GB, free: 1.391 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.284e-05/0.3272, allocations: 0 / 0.515 GB, free: 1.391 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.002648/0.3299, allocations: 0.8903 MB / 0.5158 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.379e-05/0.3299, allocations: 9.203 kB / 0.5158 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000261/0.3302, allocations: 62.41 kB / 0.5159 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.3313, allocations: 0.5103 MB / 0.5164 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.133e-05/0.3314, allocations: 33.84 kB / 0.5164 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.785e-05/0.3315, allocations: 43.05 kB / 0.5165 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.3325, allocations: 0.5299 MB / 0.517 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.3325, allocations: 1.062 kB / 0.517 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.562e-05/0.3326, allocations: 16.56 kB / 0.517 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.666e-05/0.3327, allocations: 24.56 kB / 0.517 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008877/0.3336, allocations: 393.8 kB / 0.5174 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003343/0.3369, allocations: 1.916 MB / 0.5193 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006652/0.3376, allocations: 339.9 kB / 0.5196 GB, free: 14.35 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003668/0.338, allocations: 184.1 kB / 0.5198 GB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/0.338, allocations: 8.203 kB / 0.5198 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004485/0.3385, allocations: 293.8 kB / 0.5201 GB, free: 14.08 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 3.446e-06/0.3385, allocations: 0 / 0.5201 GB, free: 14.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002282/0.3408, allocations: 1.173 MB / 0.5212 GB, free: 13.35 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.3409, allocations: 168.5 kB / 0.5214 GB, free: 13.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000606/0.3415, allocations: 398.9 kB / 0.5217 GB, free: 12.96 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.3416, allocations: 31.17 kB / 0.5218 GB, free: 12.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002851/0.3418, allocations: 295.8 kB / 0.5221 GB, free: 12.69 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.342, allocations: 113.3 kB / 0.5222 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/0.3422, allocations: 96.27 kB / 0.5223 GB, free: 12.55 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.3424, allocations: 362.1 kB / 0.5226 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/0.3426, allocations: 120.1 kB / 0.5227 GB, free: 12.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003758/0.343, allocations: 299.7 kB / 0.523 GB, free: 11.92 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007342/0.3437, allocations: 476.7 kB / 0.5235 GB, free: 11.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/0.3438, allocations: 2.469 kB / 0.5235 GB, free: 11.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001159/0.3449, allocations: 0.5244 MB / 0.524 GB, free: 11.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.584e-05/0.345, allocations: 33.3 kB / 0.524 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.345, allocations: 7.109 kB / 0.524 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.26e-05/0.3451, allocations: 8.125 kB / 0.524 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004419/0.3455, allocations: 106.6 kB / 0.5241 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.496e-05/0.3455, allocations: 13.41 kB / 0.5241 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003529/0.3459, allocations: 21.72 kB / 0.5241 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.047e-05/0.346, allocations: 33.16 kB / 0.5242 GB, free: 11.23 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003331/0.3463, allocations: 250.7 kB / 0.5244 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.998e-05/0.3464, allocations: 50.12 kB / 0.5245 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007479/0.3472, allocations: 455.3 kB / 0.5249 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.3472, allocations: 3.672 kB / 0.5249 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3472, allocations: 0 / 0.5249 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002284/0.3474, allocations: 139 kB / 0.525 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.333e-05/0.3475, allocations: 9.969 kB / 0.525 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.3478, allocations: 14.5 kB / 0.5251 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.811e-05/0.3479, allocations: 25.8 kB / 0.5251 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001056/0.3489, allocations: 0.6376 MB / 0.5257 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001168/0.3501, allocations: 0.8512 MB / 0.5265 GB, free: 9.738 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003019/0.3504, allocations: 187.6 kB / 0.5267 GB, free: 9.668 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003773/0.3508, allocations: 272 kB / 0.527 GB, free: 9.535 MB / 398.1 MB Notification: Performance of Backend: time 6.81e-07/0.3508, allocations: 1.688 kB / 0.527 GB, free: 9.535 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.3518, allocations: 367.7 kB / 0.5273 GB, free: 9.332 MB / 398.1 MB Notification: Performance of SimCode: time 0.002154/0.354, allocations: 1.432 MB / 0.5287 GB, free: 8.289 MB / 398.1 MB Notification: Performance of Templates: time 0.0119/0.3659, allocations: 4.905 MB / 0.5335 GB, free: 6.758 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches