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.001627/0.001627, allocations: 107.3 kB / 16.92 MB, free: 5.77 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.001925/0.001925, allocations: 191.3 kB / 17.85 MB, free: 5.168 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.426/1.426, allocations: 222.9 MB / 241.5 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1799/0.1799, allocations: 38.03 MB / 329.7 MB, free: 8.855 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 61.92 kB / 398.8 MB, free: 34.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1198, allocations: 58.06 MB / 456.9 MB, free: 8.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01071/0.1306, allocations: 9.08 MB / 465.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005805/0.1364, allocations: 3.365 MB / 469.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008025/0.1372, allocations: 35.81 kB / 469.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002823/0.1401, allocations: 1.036 MB / 470.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003103/0.1432, allocations: 1.101 MB / 471.5 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.145, allocations: 0.686 MB / 472.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002546/0.1476, allocations: 2.394 MB / 474.6 MB, free: 6.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.1487, allocations: 0.823 MB / 475.4 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/0.1502, allocations: 0.9768 MB / 476.4 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001977/0.1522, allocations: 1.347 MB / 477.7 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003817/0.1526, allocations: 128 kB / 477.8 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001223/0.1538, allocations: 0.5734 MB / 478.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.1548, allocations: 0.9353 MB / 479.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001354/0.1562, allocations: 0.8941 MB / 480.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002213/0.1584, allocations: 2.294 MB / 482.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1585, allocations: 0 / 482.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.1585, allocations: 0 / 482.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.928e-05/0.1585, allocations: 3.938 kB / 482.5 MB, free: 14.29 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.1617, allocations: 2.007 MB / 484.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.1617, allocations: 15.89 kB / 484.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001683/0.1634, allocations: 358.3 kB / 484.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/0.165, allocations: 1.024 MB / 485.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.698e-05/0.1651, allocations: 111.1 kB / 486 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003013/0.1654, allocations: 164 kB / 486.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002952/0.1683, allocations: 2.324 MB / 488.5 MB, free: 8.023 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.165e-05/0.1684, allocations: 15.94 kB / 488.5 MB, free: 8.008 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001487/0.1686, allocations: 59.97 kB / 488.6 MB, free: 7.949 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004908/0.169, allocations: 222.8 kB / 488.8 MB, free: 7.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002654/0.1717, allocations: 1.85 MB / 490.7 MB, free: 5.875 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.01057/0.1823, allocations: 9.575 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002215/0.1845, allocations: 1.543 MB / 0.49 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008142/0.1854, allocations: 0.6068 MB / 0.4906 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.318e-05/0.1854, allocations: 16.98 kB / 0.4906 GB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001021/0.1865, allocations: 0.8606 MB / 0.4915 GB, free: 8.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 2.925e-06/0.1865, allocations: 0 / 0.4915 GB, free: 8.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.005695/0.1922, allocations: 4 MB / 0.4954 GB, free: 4.559 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/0.1923, allocations: 294.6 kB / 0.4957 GB, free: 4.211 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.1933, allocations: 0.9185 MB / 0.4966 GB, free: 3.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.112e-05/0.1934, allocations: 49.7 kB / 0.4966 GB, free: 3.215 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005409/0.194, allocations: 0.7589 MB / 0.4973 GB, free: 2.441 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003404/0.1943, allocations: 449.7 kB / 0.4978 GB, free: 1.996 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003964/0.1947, allocations: 327.2 kB / 0.4981 GB, free: 1.668 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1949, allocations: 357.9 kB / 0.4984 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008347/0.1957, allocations: 0.5817 MB / 0.499 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/0.1969, allocations: 1.174 MB / 0.5001 GB, free: 15.3 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002238/0.1992, allocations: 2.001 MB / 0.5021 GB, free: 13 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.565e-06/0.1992, allocations: 4 kB / 0.5021 GB, free: 13 MB / 398.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004152/0.2034, allocations: 2.495 MB / 0.5045 GB, free: 10.47 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.882e-05/0.2035, allocations: 71.39 kB / 0.5046 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002698/0.2062, allocations: 1.569 MB / 0.5061 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001519/0.2077, allocations: 0.5566 MB / 0.5067 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.2087, allocations: 327.4 kB / 0.507 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2021/0.4108, allocations: 9.46 MB / 0.5162 GB, free: 67.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.412, allocations: 70.95 kB / 0.5163 GB, free: 67.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002043/0.4122, allocations: 102.3 kB / 0.5164 GB, free: 67.25 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.001032/0.4133, allocations: 0.5936 MB / 0.517 GB, free: 67.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.4135, allocations: 124.6 kB / 0.5171 GB, free: 67.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002325/0.4158, allocations: 1.544 MB / 0.5186 GB, free: 66.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.4158, allocations: 12.27 kB / 0.5186 GB, free: 66.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.4158, allocations: 1.188 kB / 0.5186 GB, free: 66.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.73e-05/0.4159, allocations: 7.531 kB / 0.5186 GB, free: 66.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004816/0.4207, allocations: 3.074 MB / 0.5216 GB, free: 65.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.497e-06/0.4207, allocations: 5.875 kB / 0.5216 GB, free: 65.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/0.4221, allocations: 296 kB / 0.5219 GB, free: 65.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.319e-05/0.4221, allocations: 9.938 kB / 0.5219 GB, free: 65.61 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.264e-05/0.4222, allocations: 39.38 kB / 0.522 GB, free: 65.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.588e-06/0.4222, allocations: 9.344 kB / 0.522 GB, free: 65.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4223, allocations: 2.875 kB / 0.522 GB, free: 65.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003054/0.4253, allocations: 2.314 MB / 0.5242 GB, free: 64.65 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005525/0.4259, allocations: 294.7 kB / 0.5245 GB, free: 64.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/0.4261, allocations: 35.16 kB / 0.5245 GB, free: 64.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005494/0.4266, allocations: 39.41 kB / 0.5246 GB, free: 64.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/0.4268, allocations: 79.92 kB / 0.5247 GB, free: 64.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/0.427, allocations: 80.98 kB / 0.5247 GB, free: 64.47 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000979/0.428, allocations: 0.5989 MB / 0.5253 GB, free: 64.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.753e-06/0.428, allocations: 1.438 kB / 0.5253 GB, free: 64.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001411/0.4294, allocations: 425.4 kB / 0.5257 GB, free: 64.19 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.0001849/0.4296, allocations: 153.2 kB / 0.5259 GB, free: 64.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005201/0.4348, allocations: 2.991 MB / 0.5288 GB, free: 62.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.4348, allocations: 1.531 kB / 0.5288 GB, free: 62.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.436, allocations: 0.8747 MB / 0.5296 GB, free: 62.53 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.4372, allocations: 233.2 kB / 0.5299 GB, free: 62.44 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0048/0.442, allocations: 3.398 MB / 0.5332 GB, free: 60.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009892/0.443, allocations: 1.462 MB / 0.5346 GB, free: 60.11 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001094/0.4441, allocations: 467.3 kB / 0.5351 GB, free: 60.06 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.4443, allocations: 94.2 kB / 0.5352 GB, free: 60.05 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4444, allocations: 0 / 0.5352 GB, free: 60.05 MB / 398.1 MB Notification: Performance of Templates: time 0.02044/0.4648, allocations: 15.33 MB / 0.5501 GB, free: 48.97 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 -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