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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 92.31 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 165.7 kB / 24.26 MB, free: 176 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.477/1.477, allocations: 177.2 MB / 204.6 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.3061/0.3061, allocations: 29.41 MB / 290.5 MB, free: 2.418 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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 2.194e-06/2.194e-06, allocations: 0 / 368.9 MB, free: 11.28 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.881e-05, allocations: 2.312 kB / 368.9 MB, free: 11.28 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01221/0.01224, allocations: 8.438 MB / 377.3 MB, free: 2.797 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007453/0.01969, allocations: 3.205 MB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.02081, allocations: 47.62 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003337/0.02415, allocations: 1.026 MB / 381.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00336/0.02751, allocations: 1.143 MB / 382.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002246/0.02975, allocations: 0.7323 MB / 383.5 MB, free: 12.62 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003756/0.03351, allocations: 2.413 MB / 385.9 MB, free: 10.2 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001484/0.03499, allocations: 0.6547 MB / 386.6 MB, free: 9.527 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003488/0.03848, allocations: 1.328 MB / 387.9 MB, free: 8.195 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002799/0.04128, allocations: 1.352 MB / 389.2 MB, free: 6.84 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005618/0.04184, allocations: 128 kB / 389.4 MB, free: 6.715 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001925/0.04377, allocations: 0.616 MB / 390 MB, free: 6.098 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001611/0.04538, allocations: 0.9937 MB / 391 MB, free: 5.102 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001415/0.04679, allocations: 0.6196 MB / 391.6 MB, free: 4.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003955/0.05075, allocations: 2.434 MB / 394 MB, free: 2.039 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.05075, allocations: 4 kB / 394 MB, free: 2.035 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.05075, allocations: 0 / 394 MB, free: 2.035 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001062/0.05086, allocations: 3.938 kB / 394 MB, free: 2.031 MB / 362.7 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.004979/0.05584, allocations: 1.968 MB / 396 MB, free: 8 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.897e-05/0.0559, allocations: 12.03 kB / 396 MB, free: 15.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003116/0.05901, allocations: 0.6356 MB / 396.6 MB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002549/0.06156, allocations: 1.038 MB / 397.7 MB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.06168, allocations: 103.1 kB / 397.8 MB, free: 14.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004445/0.06213, allocations: 168.8 kB / 397.9 MB, free: 14.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004326/0.06645, allocations: 2.378 MB / 400.3 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.872e-05/0.06652, allocations: 11.89 kB / 400.3 MB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001798/0.0667, allocations: 63.97 kB / 400.4 MB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005781/0.06728, allocations: 222.8 kB / 400.6 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003603/0.07088, allocations: 1.9 MB / 402.5 MB, free: 9.27 MB / 378.7 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.01283/0.08371, allocations: 8.237 MB / 410.8 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002683/0.08639, allocations: 1.356 MB / 412.1 MB, free: 15.32 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/0.08744, allocations: 0.6091 MB / 412.7 MB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-05/0.08753, allocations: 24.98 kB / 412.7 MB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001457/0.08899, allocations: 0.9225 MB / 413.7 MB, free: 13.69 MB / 394.7 MB Notification: Performance of pre-optimization done (n=130): time 3.617e-06/0.08899, allocations: 0 / 413.7 MB, free: 13.69 MB / 394.7 MB Notification: Performance of matching and sorting (n=131): time 0.008801/0.09779, allocations: 4.164 MB / 417.8 MB, free: 9.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003858/0.09818, allocations: 286.3 kB / 418.1 MB, free: 9.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/0.09986, allocations: 0.9368 MB / 419 MB, free: 8.129 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.09997, allocations: 49.7 kB / 419.1 MB, free: 8.074 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000966/0.1009, allocations: 0.7926 MB / 419.9 MB, free: 7.27 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005618/0.1015, allocations: 468.1 kB / 420.3 MB, free: 6.809 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005489/0.102, allocations: 315.7 kB / 420.7 MB, free: 6.492 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002552/0.1023, allocations: 365.9 kB / 421 MB, free: 6.129 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/0.1035, allocations: 0.6319 MB / 421.6 MB, free: 5.484 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002067/0.1056, allocations: 1.225 MB / 422.9 MB, free: 3.984 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003379/0.109, allocations: 2.008 MB / 424.9 MB, free: 1.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.021e-05/0.109, allocations: 4 kB / 424.9 MB, free: 1.676 MB / 394.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.005628/0.1146, allocations: 2.613 MB / 427.5 MB, free: 15.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001153/0.1148, allocations: 72.39 kB / 427.6 MB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003433/0.1182, allocations: 1.547 MB / 429.1 MB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002281/0.1205, allocations: 0.6316 MB / 429.7 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.1217, allocations: 327.5 kB / 430.1 MB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01308/0.1347, allocations: 8.93 MB / 439 MB, free: 3.078 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.1361, allocations: 71.97 kB / 439.1 MB, free: 3.008 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003578/0.1364, allocations: 95.95 kB / 439.2 MB, free: 2.914 MB / 410.7 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.001374/0.1378, allocations: 0.6 MB / 439.8 MB, free: 2.289 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000434/0.1382, allocations: 183.2 kB / 439.9 MB, free: 2.109 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003104/0.1413, allocations: 1.6 MB / 441.5 MB, free: 480 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.1414, allocations: 12 kB / 441.5 MB, free: 468 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1414, allocations: 0 / 441.5 MB, free: 468 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.1414, allocations: 3.984 kB / 441.5 MB, free: 464 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2036/0.345, allocations: 2.812 MB / 444.4 MB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/0.345, allocations: 3.125 kB / 444.4 MB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001675/0.3467, allocations: 299.8 kB / 444.7 MB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.91e-05/0.3467, allocations: 7.938 kB / 444.7 MB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.3468, allocations: 40.36 kB / 444.7 MB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.007e-05/0.3468, allocations: 6.594 kB / 444.7 MB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.3468, allocations: 3.969 kB / 444.7 MB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002882/0.3497, allocations: 2.499 MB / 447.2 MB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005706/0.3503, allocations: 215.3 kB / 447.4 MB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/0.3505, allocations: 35.06 kB / 447.5 MB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006236/0.3511, allocations: 45.38 kB / 447.5 MB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/0.3513, allocations: 87.72 kB / 447.6 MB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.3514, allocations: 80.33 kB / 447.7 MB, free: 106.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007133/0.3521, allocations: 0.5867 MB / 448.3 MB, free: 106.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3521, allocations: 0 / 448.3 MB, free: 106.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00142/0.3535, allocations: 421.7 kB / 448.7 MB, free: 106.4 MB / 410.7 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.000219/0.3538, allocations: 148.9 kB / 448.8 MB, free: 106.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002969/0.3567, allocations: 2.381 MB / 451.2 MB, free: 105.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3567, allocations: 0 / 451.2 MB, free: 105.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009069/0.3576, allocations: 0.846 MB / 452 MB, free: 104.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.3587, allocations: 237.2 kB / 452.3 MB, free: 104.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004975/0.3637, allocations: 3.394 MB / 455.7 MB, free: 103.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009349/0.3647, allocations: 0.8657 MB / 456.5 MB, free: 102.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009485/0.3656, allocations: 464.5 kB / 457 MB, free: 102.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/0.3659, allocations: 94.12 kB / 457.1 MB, free: 102.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.192e-06/0.3659, allocations: 0 / 457.1 MB, free: 102.8 MB / 410.7 MB Notification: Performance of Templates: time 0.02533/0.3912, allocations: 15.34 MB / 472.4 MB, free: 101.2 MB / 410.7 MB " [Timeout remaining time 660] 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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.782194404979236]