Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.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.Transformation.TapChanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter12.i|meter12.p|meter12.v|meter22.i|meter22.p|meter22.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter12.i|meter12.p|meter12.v|meter22.i|meter22.p|meter22.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 108.7 kB / 17.74 MB, free: 5.336 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.001039/0.001039, allocations: 194.9 kB / 18.68 MB, free: 4.41 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.3/1.3, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1716/0.1716, allocations: 38.04 MB / 330.6 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 63.91 kB / 458.8 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.327, allocations: 58.05 MB / 0.5048 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.007417/0.3344, allocations: 7.306 MB / 0.5119 GB, free: 2.875 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002792/0.3373, allocations: 1.705 MB / 0.5136 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000493/0.3378, allocations: 28.75 kB / 0.5136 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006249/0.3384, allocations: 239 kB / 0.5138 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001188/0.3396, allocations: 0.5737 MB / 0.5144 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004713/0.3401, allocations: 213 kB / 0.5146 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001232/0.3414, allocations: 1.267 MB / 0.5158 GB, free: 0.543 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000423/0.3418, allocations: 353.2 kB / 0.5162 GB, free: 416 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008362/0.3427, allocations: 0.5585 MB / 0.5167 GB, free: 148 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009861/0.3436, allocations: 0.6367 MB / 0.5173 GB, free: 15.9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.3438, allocations: 62.25 kB / 0.5174 GB, free: 15.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002217/0.344, allocations: 63.72 kB / 0.5174 GB, free: 15.9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003934/0.3444, allocations: 336 kB / 0.5178 GB, free: 15.78 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005826/0.345, allocations: 426.4 kB / 0.5182 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.3462, allocations: 0.9257 MB / 0.5191 GB, free: 15.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3462, allocations: 5.125 kB / 0.5191 GB, free: 15.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3462, allocations: 0 / 0.5191 GB, free: 15.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.3462, allocations: 0 / 0.5191 GB, free: 15.16 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002123/0.3483, allocations: 1.221 MB / 0.5203 GB, free: 14.31 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.3484, allocations: 12.36 kB / 0.5203 GB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001773/0.3486, allocations: 94.17 kB / 0.5204 GB, free: 14.26 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.3499, allocations: 0.715 MB / 0.5211 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.668e-05/0.3499, allocations: 55.33 kB / 0.5211 GB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.3501, allocations: 62.55 kB / 0.5212 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.3513, allocations: 0.8139 MB / 0.522 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.3513, allocations: 1.094 kB / 0.522 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.348e-05/0.3514, allocations: 27.28 kB / 0.522 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.034e-05/0.3514, allocations: 32.56 kB / 0.522 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.3524, allocations: 0.6155 MB / 0.5226 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003899/0.3563, allocations: 2.62 MB / 0.5252 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.3574, allocations: 0.6185 MB / 0.5258 GB, free: 11.19 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006396/0.3581, allocations: 373.8 kB / 0.5262 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.879e-05/0.3582, allocations: 10.58 kB / 0.5262 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006736/0.3588, allocations: 486.5 kB / 0.5266 GB, free: 10.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=63): time 2.555e-06/0.3588, allocations: 1.375 kB / 0.5266 GB, free: 10.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=64): time 0.003328/0.3622, allocations: 1.973 MB / 0.5286 GB, free: 9.652 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.3623, allocations: 249.6 kB / 0.5288 GB, free: 9.367 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007031/0.363, allocations: 0.5665 MB / 0.5294 GB, free: 9.113 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/0.3631, allocations: 38.39 kB / 0.5294 GB, free: 9.074 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003137/0.3634, allocations: 406 kB / 0.5298 GB, free: 8.754 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/0.3636, allocations: 208.7 kB / 0.53 GB, free: 8.594 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002131/0.3638, allocations: 146.1 kB / 0.5301 GB, free: 8.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.364, allocations: 384.9 kB / 0.5305 GB, free: 8.176 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003816/0.3644, allocations: 223.4 kB / 0.5307 GB, free: 8.109 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005796/0.365, allocations: 458.1 kB / 0.5311 GB, free: 7.754 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009041/0.3659, allocations: 0.795 MB / 0.5319 GB, free: 7.133 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.3659, allocations: 2.969 kB / 0.5319 GB, free: 7.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001629/0.3675, allocations: 0.9451 MB / 0.5328 GB, free: 6.703 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.271e-05/0.3676, allocations: 66.28 kB / 0.5329 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.3676, allocations: 11.27 kB / 0.5329 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003943/0.368, allocations: 118.2 kB / 0.533 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005024/0.3685, allocations: 148.3 kB / 0.5332 GB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003067/0.3716, allocations: 3.553 MB / 0.5366 GB, free: 3.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004706/0.3721, allocations: 42.22 kB / 0.5367 GB, free: 3.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.508e-05/0.3722, allocations: 48.81 kB / 0.5367 GB, free: 3.105 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 (system.initime,tapRelay1.cnt_2,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_1,$whenCondition4,$whenCondition3,tapRelay2.cnt_2,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_1,$whenCondition2,$whenCondition1,tapRelay1.tap_2,$PRE.tapRelay1.tap_2,tapRelay1.tap_1,$PRE.tapRelay1.tap_1,tapRelay2.tap_2,$PRE.tapRelay2.tap_2,tapRelay2.tap_1,$PRE.tapRelay2.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 2 * 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,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004573/0.3726, allocations: 358.6 kB / 0.5371 GB, free: 2.812 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.946e-05/0.3728, allocations: 76 kB / 0.5371 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.3739, allocations: 0.7812 MB / 0.5379 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/0.3739, allocations: 5.406 kB / 0.5379 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3739, allocations: 0 / 0.5379 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002767/0.3742, allocations: 193.6 kB / 0.5381 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.182e-05/0.3743, allocations: 19.16 kB / 0.5381 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000285/0.3746, allocations: 26.09 kB / 0.5381 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.136e-05/0.3747, allocations: 37.23 kB / 0.5382 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001427/0.3761, allocations: 1.051 MB / 0.5392 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00156/0.3777, allocations: 1.352 MB / 0.5405 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004104/0.3781, allocations: 352.8 kB / 0.5409 GB, free: 388 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004284/0.3785, allocations: 393.7 kB / 0.5412 GB, free: 152 kB / 398.1 MB Notification: Performance of Backend: time 4.71e-07/0.3785, allocations: 1.062 kB / 0.5412 GB, free: 152 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001545/0.3801, allocations: 0.8649 MB / 0.5421 GB, free: 15.5 MB / 414.1 MB Notification: Performance of SimCode: time 0.002478/0.3826, allocations: 1.988 MB / 0.544 GB, free: 14.04 MB / 414.1 MB Notification: Performance of Templates: time 0.01562/0.3982, allocations: 8.57 MB / 0.5524 GB, free: 6.828 MB / 414.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches