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.001412/0.001412, allocations: 117.8 kB / 17.7 MB, free: 5.305 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.001721/0.001721, allocations: 192 kB / 18.63 MB, free: 4.375 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.401/1.401, allocations: 222.9 MB / 242.3 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2276/0.2276, allocations: 38.04 MB / 330.5 MB, free: 8.844 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 63.73 kB / 400.3 MB, free: 33.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1047, allocations: 58.06 MB / 458.3 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.009424/0.1141, allocations: 9.08 MB / 467.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005529/0.1197, allocations: 3.365 MB / 470.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007176/0.1205, allocations: 35.81 kB / 470.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002555/0.1231, allocations: 1.048 MB / 471.8 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002313/0.1254, allocations: 1.093 MB / 472.9 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001659/0.1271, allocations: 0.6977 MB / 473.6 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002556/0.1296, allocations: 2.367 MB / 476 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009791/0.1306, allocations: 0.819 MB / 476.8 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001381/0.132, allocations: 0.9962 MB / 477.8 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001627/0.1337, allocations: 1.336 MB / 479.2 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001923/0.1339, allocations: 128 kB / 479.3 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.135, allocations: 0.5773 MB / 479.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008089/0.1358, allocations: 0.9314 MB / 480.8 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008742/0.1367, allocations: 0.898 MB / 481.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002191/0.1389, allocations: 2.336 MB / 484 MB, free: 13.58 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1389, allocations: 0 / 484 MB, free: 13.58 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1389, allocations: 0 / 484 MB, free: 13.58 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.664e-05/0.139, allocations: 0 / 484 MB, free: 13.58 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.003169/0.1421, allocations: 2.003 MB / 486 MB, free: 11.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.1422, allocations: 15.89 kB / 486 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/0.1439, allocations: 362.3 kB / 486.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001956/0.1459, allocations: 1.075 MB / 487.5 MB, free: 10.01 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.329e-05/0.146, allocations: 103.1 kB / 487.6 MB, free: 9.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000317/0.1463, allocations: 172 kB / 487.7 MB, free: 9.742 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002998/0.1493, allocations: 2.324 MB / 490.1 MB, free: 7.262 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.519e-05/0.1494, allocations: 11.92 kB / 490.1 MB, free: 7.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/0.1495, allocations: 67.91 kB / 490.1 MB, free: 7.184 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004922/0.15, allocations: 226.7 kB / 490.4 MB, free: 6.961 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0027/0.1527, allocations: 1.846 MB / 492.2 MB, free: 5.109 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.009899/0.1626, allocations: 9.516 MB / 0.49 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002101/0.1647, allocations: 1.548 MB / 0.4915 GB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000786/0.1655, allocations: 0.6107 MB / 0.4921 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.943e-05/0.1656, allocations: 28.97 kB / 0.4921 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/0.1667, allocations: 0.845 MB / 0.4929 GB, free: 7.949 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 2.835e-06/0.1667, allocations: 0 / 0.4929 GB, free: 7.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.005748/0.1725, allocations: 4.015 MB / 0.4968 GB, free: 3.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000155/0.1726, allocations: 282.3 kB / 0.4971 GB, free: 3.496 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.1737, allocations: 0.9146 MB / 0.498 GB, free: 2.559 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.967e-05/0.1738, allocations: 57.69 kB / 0.4981 GB, free: 2.496 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005279/0.1744, allocations: 0.7628 MB / 0.4988 GB, free: 1.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000301/0.1747, allocations: 449.7 kB / 0.4992 GB, free: 1.273 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004086/0.1751, allocations: 323.4 kB / 0.4995 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1752, allocations: 361.9 kB / 0.4999 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008014/0.176, allocations: 0.5777 MB / 0.5005 GB, free: 12 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/0.1772, allocations: 1.182 MB / 0.5016 GB, free: 14.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002128/0.1793, allocations: 2.001 MB / 0.5036 GB, free: 12.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.298e-06/0.1794, allocations: 4 kB / 0.5036 GB, free: 12.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004081/0.1834, allocations: 2.489 MB / 0.506 GB, free: 9.746 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.863e-05/0.1835, allocations: 75.39 kB / 0.5061 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002644/0.1862, allocations: 1.559 MB / 0.5076 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001545/0.1877, allocations: 0.545 MB / 0.5081 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.1888, allocations: 331.4 kB / 0.5084 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1959/0.3847, allocations: 9.448 MB / 0.5177 GB, free: 66.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.3858, allocations: 71.08 kB / 0.5177 GB, free: 66.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001678/0.386, allocations: 103.3 kB / 0.5178 GB, free: 66.99 MB / 398.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.0009027/0.3869, allocations: 0.5944 MB / 0.5184 GB, free: 66.81 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.3871, allocations: 130.7 kB / 0.5185 GB, free: 66.81 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002181/0.3893, allocations: 1.535 MB / 0.52 GB, free: 66.55 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.3893, allocations: 13.88 kB / 0.5201 GB, free: 66.55 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3893, allocations: 2.016 kB / 0.5201 GB, free: 66.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.3893, allocations: 6.75 kB / 0.5201 GB, free: 66.55 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004476/0.3938, allocations: 3.079 MB / 0.5231 GB, free: 65.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.3938, allocations: 1.281 kB / 0.5231 GB, free: 65.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001369/0.3952, allocations: 297.8 kB / 0.5234 GB, free: 65.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/0.3952, allocations: 8.406 kB / 0.5234 GB, free: 65.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-05/0.3953, allocations: 39.95 kB / 0.5234 GB, free: 65.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.097e-06/0.3953, allocations: 6.844 kB / 0.5234 GB, free: 65.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.3953, allocations: 9.156 kB / 0.5234 GB, free: 65.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002992/0.3983, allocations: 2.314 MB / 0.5257 GB, free: 64.3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006378/0.399, allocations: 294.2 kB / 0.526 GB, free: 64.17 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.3991, allocations: 31.84 kB / 0.526 GB, free: 64.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005812/0.3997, allocations: 42.62 kB / 0.526 GB, free: 64.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/0.3999, allocations: 80.41 kB / 0.5261 GB, free: 64.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001625/0.4001, allocations: 82.03 kB / 0.5262 GB, free: 64.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007292/0.4008, allocations: 0.6035 MB / 0.5268 GB, free: 63.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4008, allocations: 0 / 0.5268 GB, free: 63.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001285/0.4021, allocations: 421.1 kB / 0.5272 GB, free: 63.83 MB / 398.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.0001616/0.4023, allocations: 155.7 kB / 0.5273 GB, free: 63.72 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002979/0.4053, allocations: 2.325 MB / 0.5296 GB, free: 62.58 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4053, allocations: 0 / 0.5296 GB, free: 62.58 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009706/0.4063, allocations: 0.8765 MB / 0.5304 GB, free: 62.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009789/0.4073, allocations: 231.8 kB / 0.5307 GB, free: 62.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004563/0.4118, allocations: 3.374 MB / 0.534 GB, free: 60.63 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009165/0.4128, allocations: 1.456 MB / 0.5354 GB, free: 59.82 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009938/0.4138, allocations: 461.8 kB / 0.5358 GB, free: 59.78 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/0.414, allocations: 92.67 kB / 0.5359 GB, free: 59.77 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.414, allocations: 0 / 0.5359 GB, free: 59.77 MB / 398.1 MB Notification: Performance of Templates: time 0.02069/0.4347, allocations: 15.33 MB / 0.5509 GB, free: 49.18 MB / 398.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transformation.TapChanger.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches