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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 104.6 kB / 19.61 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 197.2 kB / 22.76 MB, free: 5.48 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] 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: 225.6 MB / 251.4 MB, free: 13.45 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1852/0.1852, allocations: 38.53 MB / 345 MB, free: 2.68 MB / 270.1 MB [Timeout remaining time 90] 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=510,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=510,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") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 59.91 kB / 482.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.347, allocations: 61.25 MB / 0.5309 GB, free: 5.469 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.009156/0.3561, allocations: 9.205 MB / 0.5399 GB, free: 14.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006924/0.363, allocations: 3.38 MB / 0.5432 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.3641, allocations: 38.19 kB / 0.5433 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002964/0.3671, allocations: 1.073 MB / 0.5443 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003168/0.3702, allocations: 1.108 MB / 0.5454 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002239/0.3725, allocations: 0.6883 MB / 0.5461 GB, free: 9.844 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003975/0.3764, allocations: 2.378 MB / 0.5484 GB, free: 8.551 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.3776, allocations: 0.6327 MB / 0.549 GB, free: 8.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002128/0.3797, allocations: 1.003 MB / 0.55 GB, free: 7.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002431/0.3822, allocations: 1.46 MB / 0.5514 GB, free: 6.742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003158/0.3825, allocations: 128.7 kB / 0.5515 GB, free: 6.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001461/0.384, allocations: 0.6068 MB / 0.5521 GB, free: 6.477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001134/0.3851, allocations: 0.956 MB / 0.5531 GB, free: 5.883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001407/0.3865, allocations: 0.8979 MB / 0.5539 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003748/0.3902, allocations: 2.354 MB / 0.5562 GB, free: 2.723 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3902, allocations: 0 / 0.5562 GB, free: 2.723 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.3902, allocations: 0 / 0.5562 GB, free: 2.723 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.926e-05/0.3903, allocations: 4 kB / 0.5562 GB, free: 2.719 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.00386/0.3942, allocations: 2.058 MB / 0.5583 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.3942, allocations: 15.89 kB / 0.5583 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001789/0.396, allocations: 363.4 kB / 0.5586 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002101/0.3981, allocations: 1.091 MB / 0.5597 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.666e-05/0.3982, allocations: 107.1 kB / 0.5598 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003364/0.3985, allocations: 160 kB / 0.5599 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003609/0.4021, allocations: 2.328 MB / 0.5622 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.564e-05/0.4022, allocations: 7.938 kB / 0.5622 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/0.4023, allocations: 67.97 kB / 0.5623 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005265/0.4029, allocations: 222.8 kB / 0.5625 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00295/0.4058, allocations: 1.846 MB / 0.5643 GB, free: 10.2 MB / 414.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.01194/0.4177, allocations: 9.542 MB / 0.5736 GB, free: 148 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002328/0.4201, allocations: 1.45 MB / 0.575 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008562/0.4209, allocations: 0.5434 MB / 0.5756 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.779e-05/0.421, allocations: 20.89 kB / 0.5756 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001194/0.4222, allocations: 0.8606 MB / 0.5764 GB, free: 13.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 3.457e-06/0.4222, allocations: 0 / 0.5764 GB, free: 13.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=131): time 0.006456/0.4287, allocations: 4.076 MB / 0.5804 GB, free: 8.992 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002473/0.4289, allocations: 286.6 kB / 0.5807 GB, free: 8.652 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.4302, allocations: 0.9187 MB / 0.5816 GB, free: 7.711 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.256e-05/0.4302, allocations: 53.64 kB / 0.5816 GB, free: 7.652 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006618/0.4309, allocations: 0.7927 MB / 0.5824 GB, free: 6.848 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004516/0.4313, allocations: 476.1 kB / 0.5829 GB, free: 6.379 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004454/0.4318, allocations: 319.4 kB / 0.5832 GB, free: 6.062 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002409/0.432, allocations: 361.9 kB / 0.5835 GB, free: 5.703 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/0.4331, allocations: 0.5855 MB / 0.5841 GB, free: 5.117 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001417/0.4345, allocations: 1.174 MB / 0.5852 GB, free: 3.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0026/0.4371, allocations: 1.997 MB / 0.5872 GB, free: 1.395 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.4371, allocations: 8 kB / 0.5872 GB, free: 1.387 MB / 430.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.00467/0.4418, allocations: 2.478 MB / 0.5896 GB, free: 14.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.759e-05/0.4418, allocations: 68.38 kB / 0.5897 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003025/0.4449, allocations: 1.551 MB / 0.5912 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001655/0.4465, allocations: 0.5478 MB / 0.5917 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.4477, allocations: 319.5 kB / 0.592 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/0.4588, allocations: 9.459 MB / 0.6013 GB, free: 2.348 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.4599, allocations: 75.92 kB / 0.6013 GB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/0.4601, allocations: 107.9 kB / 0.6014 GB, free: 2.168 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.0009784/0.461, allocations: 0.5992 MB / 0.602 GB, free: 1.551 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002248/0.4613, allocations: 131.2 kB / 0.6021 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002573/0.4638, allocations: 1.543 MB / 0.6037 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.4638, allocations: 12 kB / 0.6037 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.4639, allocations: 7.938 kB / 0.6037 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.559e-05/0.4639, allocations: 7.969 kB / 0.6037 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005093/0.469, allocations: 3.076 MB / 0.6067 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.469, allocations: 0 / 0.6067 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/0.4704, allocations: 299.8 kB / 0.607 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.33e-05/0.4704, allocations: 4 kB / 0.607 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.4705, allocations: 39.98 kB / 0.607 GB, free: 12.33 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.084e-05/0.4705, allocations: 8 kB / 0.607 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.4705, allocations: 3.938 kB / 0.607 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003462/0.474, allocations: 2.326 MB / 0.6093 GB, free: 9.941 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006302/0.4746, allocations: 300.2 kB / 0.6096 GB, free: 9.629 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.4748, allocations: 35.92 kB / 0.6096 GB, free: 9.594 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005736/0.4753, allocations: 43.97 kB / 0.6097 GB, free: 9.551 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/0.4755, allocations: 80.83 kB / 0.6097 GB, free: 9.473 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/0.4757, allocations: 83.91 kB / 0.6098 GB, free: 9.391 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008195/0.4765, allocations: 0.5986 MB / 0.6104 GB, free: 8.781 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4765, allocations: 0 / 0.6104 GB, free: 8.781 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001457/0.4779, allocations: 420 kB / 0.6108 GB, free: 8.371 MB / 462.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.0002312/0.4782, allocations: 159.8 kB / 0.6109 GB, free: 8.207 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00391/0.4821, allocations: 2.254 MB / 0.6132 GB, free: 5.875 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.4821, allocations: 0 / 0.6132 GB, free: 5.875 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.4833, allocations: 0.7812 MB / 0.6139 GB, free: 5.066 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.4846, allocations: 223 kB / 0.6141 GB, free: 4.855 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006623/0.4912, allocations: 3.57 MB / 0.6176 GB, free: 1.227 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001372/0.4926, allocations: 1.461 MB / 0.619 GB, free: 15.73 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004468/0.493, allocations: 103.4 kB / 0.6191 GB, free: 15.63 MB / 478.1 MB Notification: Performance of SimCode: time 9.92e-07/0.493, allocations: 0 / 0.6191 GB, free: 15.63 MB / 478.1 MB Notification: Performance of Templates: time 0.04197/0.535, allocations: 28.45 MB / 0.6469 GB, free: 3.168 MB / 494.1 MB [Timeout remaining time 659] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] [Timeout remaining time 660] Reference file matches