Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.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.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter1.alpha_v|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v_norm|meter12.alpha_v|meter12.p.1.|meter12.p.2.|meter12.p.3.|meter12.v_norm|meter22.alpha_v|meter22.p.1.|meter22.p.2.|meter22.p.3.|meter22.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter1.alpha_v|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v_norm|meter12.alpha_v|meter12.p.1.|meter12.p.2.|meter12.p.3.|meter12.v_norm|meter22.alpha_v|meter22.p.1.|meter22.p.2.|meter22.p.3.|meter22.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 106.5 kB / 17.06 MB, free: 6.102 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.001003/0.001003, allocations: 194.9 kB / 18 MB, free: 5.172 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.504/1.504, allocations: 222.9 MB / 241.7 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1732/0.1732, allocations: 38.04 MB / 329.9 MB, free: 8.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 59.91 kB / 458.1 MB, free: 6.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3967, allocations: 58.07 MB / 0.5041 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.00988/0.4066, allocations: 9.072 MB / 0.513 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006888/0.4136, allocations: 3.372 MB / 0.5163 GB, free: 15.03 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.4147, allocations: 34.38 kB / 0.5163 GB, free: 15.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003324/0.4181, allocations: 1.045 MB / 0.5173 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004717/0.4228, allocations: 1.097 MB / 0.5184 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003312/0.4261, allocations: 0.6894 MB / 0.5191 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005105/0.4313, allocations: 2.38 MB / 0.5214 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001665/0.433, allocations: 0.8204 MB / 0.5222 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002536/0.4355, allocations: 0.9918 MB / 0.5232 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002299/0.4378, allocations: 1.334 MB / 0.5245 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002448/0.4381, allocations: 129.4 kB / 0.5246 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.4396, allocations: 0.5795 MB / 0.5251 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001212/0.4409, allocations: 0.9278 MB / 0.526 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001196/0.4421, allocations: 0.897 MB / 0.5269 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003515/0.4456, allocations: 2.355 MB / 0.5292 GB, free: 9.164 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.4456, allocations: 0 / 0.5292 GB, free: 9.164 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4456, allocations: 0 / 0.5292 GB, free: 9.164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.61e-05/0.4457, allocations: 0 / 0.5292 GB, free: 9.164 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: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.004189/0.4499, allocations: 2.064 MB / 0.5312 GB, free: 7.625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.4499, allocations: 12.27 kB / 0.5313 GB, free: 7.621 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001896/0.4518, allocations: 359.2 kB / 0.5316 GB, free: 7.445 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002009/0.4539, allocations: 1.091 MB / 0.5327 GB, free: 6.664 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.861e-05/0.454, allocations: 110.7 kB / 0.5328 GB, free: 6.609 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003328/0.4543, allocations: 167.1 kB / 0.5329 GB, free: 6.547 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003785/0.4581, allocations: 2.324 MB / 0.5352 GB, free: 5.055 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.754e-05/0.4582, allocations: 12.12 kB / 0.5352 GB, free: 5.047 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/0.4583, allocations: 60.28 kB / 0.5353 GB, free: 5.004 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005441/0.4589, allocations: 225.6 kB / 0.5355 GB, free: 4.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003064/0.462, allocations: 1.848 MB / 0.5373 GB, free: 4.055 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01135/0.4733, allocations: 9.534 MB / 0.5466 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002313/0.4756, allocations: 1.549 MB / 0.5481 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008422/0.4765, allocations: 0.6136 MB / 0.5487 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.561e-05/0.4766, allocations: 16.98 kB / 0.5487 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001195/0.4778, allocations: 0.8567 MB / 0.5496 GB, free: 9.133 MB / 414.1 MB Notification: Performance of pre-optimization done (n=130): time 2.835e-06/0.4778, allocations: 0 / 0.5496 GB, free: 9.133 MB / 414.1 MB Notification: Performance of matching and sorting (n=131): time 0.006345/0.4842, allocations: 4.076 MB / 0.5535 GB, free: 4.961 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/0.4843, allocations: 282.3 kB / 0.5538 GB, free: 4.625 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.4856, allocations: 0.9187 MB / 0.5547 GB, free: 3.684 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.457e-05/0.4857, allocations: 45.7 kB / 0.5547 GB, free: 3.633 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007071/0.4864, allocations: 0.7927 MB / 0.5555 GB, free: 2.828 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003879/0.4868, allocations: 484.2 kB / 0.556 GB, free: 2.352 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000452/0.4872, allocations: 323.4 kB / 0.5563 GB, free: 2.031 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.4874, allocations: 353.9 kB / 0.5566 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009072/0.4883, allocations: 0.5817 MB / 0.5572 GB, free: 1.098 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/0.4898, allocations: 1.174 MB / 0.5583 GB, free: 15.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00246/0.4923, allocations: 2.001 MB / 0.5603 GB, free: 13.37 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.427e-06/0.4923, allocations: 8 kB / 0.5603 GB, free: 13.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004275/0.4966, allocations: 2.495 MB / 0.5627 GB, free: 10.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.082e-05/0.4966, allocations: 67.41 kB / 0.5628 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002752/0.4994, allocations: 1.567 MB / 0.5643 GB, free: 9.176 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001552/0.501, allocations: 0.5484 MB / 0.5649 GB, free: 8.617 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.502, allocations: 319.6 kB / 0.5652 GB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01044/0.5125, allocations: 9.464 MB / 0.5744 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.514, allocations: 75.92 kB / 0.5745 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002286/0.5143, allocations: 108 kB / 0.5746 GB, free: 14.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (175): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (2,11,100.0%), (2,12,100.0%), (2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00125/0.5155, allocations: 0.5919 MB / 0.5752 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002456/0.5158, allocations: 135.2 kB / 0.5753 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002438/0.5182, allocations: 1.539 MB / 0.5768 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.5183, allocations: 12 kB / 0.5768 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.5183, allocations: 7.938 kB / 0.5768 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.5183, allocations: 11.91 kB / 0.5768 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004641/0.5229, allocations: 3.072 MB / 0.5798 GB, free: 8.605 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.523, allocations: 0 / 0.5798 GB, free: 8.605 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001329/0.5243, allocations: 295.6 kB / 0.5801 GB, free: 8.316 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.5243, allocations: 8 kB / 0.5801 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.039e-05/0.5244, allocations: 36.02 kB / 0.5802 GB, free: 8.273 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.28e-05/0.5244, allocations: 8 kB / 0.5802 GB, free: 8.266 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5244, allocations: 0 / 0.5802 GB, free: 8.266 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003174/0.5276, allocations: 2.326 MB / 0.5824 GB, free: 5.891 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006901/0.5283, allocations: 300.2 kB / 0.5827 GB, free: 5.578 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/0.5285, allocations: 35.98 kB / 0.5828 GB, free: 5.543 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005535/0.5291, allocations: 43.91 kB / 0.5828 GB, free: 5.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001902/0.5293, allocations: 76.78 kB / 0.5829 GB, free: 5.426 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001558/0.5294, allocations: 83.92 kB / 0.583 GB, free: 5.344 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008971/0.5303, allocations: 0.6025 MB / 0.5835 GB, free: 4.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.5303, allocations: 0 / 0.5835 GB, free: 4.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001575/0.5319, allocations: 424 kB / 0.5839 GB, free: 4.316 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (trafo1.i1[1],trafo1.i1[2],trafo1.i1[3],trafo2.i1[1],trafo2.i1[2],trafo2.i1[3]) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tapRelay2.tap_1,tapRelay2.tap_2,tapRelay2.cnt_1,tapRelay2.cnt_2,tapRelay1.tap_1,tapRelay1.tap_2,tapRelay1.cnt_1,tapRelay1.cnt_2,system.initime) * Number of discrete states: 12 (tapRelay1.tap_2,tapRelay1.cnt_2,$whenCondition4,tapRelay1.tap_1,tapRelay1.cnt_1,$whenCondition3,tapRelay2.tap_2,tapRelay2.cnt_2,$whenCondition2,tapRelay2.tap_1,tapRelay2.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001999/0.5321, allocations: 143 kB / 0.5841 GB, free: 4.168 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003518/0.5357, allocations: 2.332 MB / 0.5864 GB, free: 1.758 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.5357, allocations: 0 / 0.5864 GB, free: 1.758 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.5368, allocations: 0.8793 MB / 0.5872 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.5378, allocations: 226 kB / 0.5874 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005834/0.5437, allocations: 3.415 MB / 0.5908 GB, free: 13.17 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/0.5449, allocations: 1.461 MB / 0.5922 GB, free: 11.68 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001133/0.5461, allocations: 466.3 kB / 0.5926 GB, free: 11.22 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002453/0.5464, allocations: 99.36 kB / 0.5927 GB, free: 11.12 MB / 462.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5464, allocations: 0 / 0.5927 GB, free: 11.12 MB / 462.1 MB Notification: Performance of Templates: time 0.02823/0.5746, allocations: 15.71 MB / 0.6081 GB, free: 11.51 MB / 478.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transformation.TapChanger.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches