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.00201/0.00201, allocations: 109.1 kB / 16.51 MB, free: 6.707 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.002377/0.002377, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.466/1.466, allocations: 222.9 MB / 241.1 MB, free: 13.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1718/0.1718, allocations: 38.04 MB / 329.3 MB, free: 8.891 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 62.27 kB / 398.1 MB, free: 34.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1199, allocations: 58.06 MB / 456.2 MB, free: 8.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01135/0.1313, allocations: 10.7 MB / 466.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007801/0.1391, allocations: 3.953 MB / 470.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001845/0.141, allocations: 67.56 kB / 470.9 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003228/0.1443, allocations: 0.9905 MB / 471.9 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00362/0.148, allocations: 1.051 MB / 472.9 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00242/0.1504, allocations: 0.6239 MB / 473.5 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006355/0.1568, allocations: 4.13 MB / 477.7 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002431/0.1593, allocations: 0.7912 MB / 478.5 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002515/0.1618, allocations: 0.8322 MB / 479.3 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003118/0.165, allocations: 1.437 MB / 480.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004571/0.1654, allocations: 84 kB / 480.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002101/0.1676, allocations: 0.5694 MB / 481.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001547/0.1691, allocations: 0.8962 MB / 482.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001837/0.171, allocations: 0.8432 MB / 483.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003547/0.1746, allocations: 2.258 MB / 485.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1746, allocations: 0 / 485.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1746, allocations: 0 / 485.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.308e-05/0.1747, allocations: 0 / 485.4 MB, free: 11.2 MB / 366.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.005362/0.18, allocations: 2.015 MB / 487.4 MB, free: 9.109 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.589e-05/0.1801, allocations: 12.03 kB / 487.4 MB, free: 9.098 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002835/0.183, allocations: 350.4 kB / 487.7 MB, free: 8.754 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002841/0.1858, allocations: 1.02 MB / 488.8 MB, free: 7.691 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.186, allocations: 107.1 kB / 488.9 MB, free: 7.586 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004822/0.1865, allocations: 164.1 kB / 489 MB, free: 7.426 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005418/0.1919, allocations: 2.328 MB / 491.4 MB, free: 4.941 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-05/0.192, allocations: 15.84 kB / 491.4 MB, free: 4.926 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002283/0.1922, allocations: 63.97 kB / 491.4 MB, free: 4.863 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008347/0.1931, allocations: 226.8 kB / 491.7 MB, free: 4.641 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004967/0.1981, allocations: 1.846 MB / 493.5 MB, free: 2.789 MB / 366.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.01788/0.216, allocations: 9.575 MB / 0.4913 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003936/0.2199, allocations: 1.543 MB / 0.4928 GB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001413/0.2214, allocations: 0.599 MB / 0.4934 GB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/0.2215, allocations: 28.91 kB / 0.4934 GB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001945/0.2235, allocations: 0.8527 MB / 0.4942 GB, free: 5.574 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 4.819e-06/0.2235, allocations: 0 / 0.4942 GB, free: 5.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.01027/0.2338, allocations: 4.011 MB / 0.4982 GB, free: 1.465 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002151/0.2341, allocations: 290.6 kB / 0.4984 GB, free: 1.121 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002053/0.2361, allocations: 0.9107 MB / 0.4993 GB, free: 192 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001474/0.2363, allocations: 49.7 kB / 0.4994 GB, free: 136 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2423/0.4786, allocations: 0.7691 MB / 0.5001 GB, free: 56.19 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006879/0.4793, allocations: 449.2 kB / 0.5006 GB, free: 55.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005519/0.4799, allocations: 324.6 kB / 0.5009 GB, free: 55.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.4801, allocations: 357.3 kB / 0.5012 GB, free: 55.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.4811, allocations: 0.5801 MB / 0.5018 GB, free: 55.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.4824, allocations: 1.173 MB / 0.5029 GB, free: 54.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002571/0.485, allocations: 2.001 MB / 0.5049 GB, free: 53.28 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.337e-05/0.485, allocations: 5.75 kB / 0.5049 GB, free: 53.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004679/0.4897, allocations: 2.491 MB / 0.5073 GB, free: 52.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.127e-05/0.4898, allocations: 75.02 kB / 0.5074 GB, free: 52.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003137/0.4929, allocations: 1.569 MB / 0.5089 GB, free: 51.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00163/0.4946, allocations: 0.5433 MB / 0.5094 GB, free: 51.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.4957, allocations: 325.7 kB / 0.5098 GB, free: 51.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008928/0.5046, allocations: 8.712 MB / 0.5183 GB, free: 44.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.5058, allocations: 81.77 kB / 0.5183 GB, free: 44.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001661/0.506, allocations: 101.3 kB / 0.5184 GB, free: 44.93 MB / 382.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.001031/0.507, allocations: 0.5969 MB / 0.519 GB, free: 44.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002386/0.5073, allocations: 124.2 kB / 0.5191 GB, free: 44.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002496/0.5098, allocations: 1.536 MB / 0.5206 GB, free: 43.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.5098, allocations: 12.12 kB / 0.5206 GB, free: 43.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5098, allocations: 1.859 kB / 0.5206 GB, free: 43.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.082e-05/0.5098, allocations: 10.92 kB / 0.5207 GB, free: 43.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004648/0.5145, allocations: 3.076 MB / 0.5237 GB, free: 42.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.5145, allocations: 0 / 0.5237 GB, free: 42.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/0.5158, allocations: 299.9 kB / 0.5239 GB, free: 42.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.367e-05/0.5158, allocations: 10.42 kB / 0.524 GB, free: 42.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.519e-05/0.5159, allocations: 31.59 kB / 0.524 GB, free: 42.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.276e-06/0.5159, allocations: 7.844 kB / 0.524 GB, free: 42.53 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5159, allocations: 3.938 kB / 0.524 GB, free: 42.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002902/0.5188, allocations: 2.317 MB / 0.5263 GB, free: 41.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004768/0.5193, allocations: 294.3 kB / 0.5265 GB, free: 41.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/0.5195, allocations: 36.69 kB / 0.5266 GB, free: 41.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005299/0.52, allocations: 42.91 kB / 0.5266 GB, free: 41.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.5202, allocations: 92.36 kB / 0.5267 GB, free: 41.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/0.5203, allocations: 78.28 kB / 0.5268 GB, free: 41.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007229/0.521, allocations: 0.5972 MB / 0.5274 GB, free: 41.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5211, allocations: 4 kB / 0.5274 GB, free: 41.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001481/0.5225, allocations: 426.6 kB / 0.5278 GB, free: 40.96 MB / 382.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.0002285/0.5228, allocations: 147.5 kB / 0.5279 GB, free: 40.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003468/0.5263, allocations: 2.316 MB / 0.5302 GB, free: 39.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.5263, allocations: 0 / 0.5302 GB, free: 39.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009589/0.5272, allocations: 0.8721 MB / 0.531 GB, free: 38.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.5284, allocations: 212.6 kB / 0.5312 GB, free: 38.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005777/0.5342, allocations: 4.069 MB / 0.5352 GB, free: 34.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/0.5354, allocations: 1.466 MB / 0.5366 GB, free: 32.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001274/0.5367, allocations: 462.8 kB / 0.5371 GB, free: 32.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003091/0.537, allocations: 95.42 kB / 0.5372 GB, free: 32.42 MB / 382.1 MB Notification: Performance of SimCode: time 1.693e-06/0.537, allocations: 7.875 kB / 0.5372 GB, free: 32.41 MB / 382.1 MB Notification: Performance of Templates: time 0.02367/0.5607, allocations: 14.55 MB / 0.5514 GB, free: 17.99 MB / 382.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