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.001035/0.001035, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.000856/0.000856, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 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 0.9249/0.9249, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2258/0.2258, allocations: 29.4 MB / 290.1 MB, free: 2.434 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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.TapChanger,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.TapChanger,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.36e-05, allocations: 4.25 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.007177/0.0072, allocations: 8.435 MB / 438.6 MB, free: 5.137 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004924/0.01212, allocations: 3.205 MB / 441.8 MB, free: 1.922 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000578/0.0127, allocations: 51.56 kB / 441.9 MB, free: 1.871 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001573/0.01428, allocations: 1.018 MB / 442.9 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1759/0.1902, allocations: 1.141 MB / 444.1 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002458/0.1927, allocations: 0.7291 MB / 444.8 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003524/0.1962, allocations: 2.42 MB / 447.2 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009979/0.1972, allocations: 0.6598 MB / 447.9 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001723/0.1989, allocations: 1.321 MB / 449.2 MB, free: 42.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001509/0.2004, allocations: 1.341 MB / 450.5 MB, free: 42.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002553/0.2007, allocations: 131.3 kB / 450.7 MB, free: 42.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.2017, allocations: 0.6159 MB / 451.3 MB, free: 42.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006899/0.2024, allocations: 0.9944 MB / 452.3 MB, free: 42.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007545/0.2032, allocations: 0.619 MB / 452.9 MB, free: 42.24 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002319/0.2055, allocations: 2.428 MB / 455.3 MB, free: 41.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2055, allocations: 0 / 455.3 MB, free: 41.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2055, allocations: 3.188 kB / 455.3 MB, free: 41.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001007/0.2056, allocations: 0 / 455.3 MB, free: 41.99 MB / 410.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.003398/0.209, allocations: 1.978 MB / 457.3 MB, free: 40.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.209, allocations: 13.27 kB / 457.3 MB, free: 40.91 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002042/0.2092, allocations: 239.4 kB / 457.5 MB, free: 40.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.2105, allocations: 481 kB / 458 MB, free: 40.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.2118, allocations: 0.9958 MB / 459 MB, free: 40.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.142e-05/0.2119, allocations: 104.8 kB / 459.1 MB, free: 40.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002924/0.2122, allocations: 163.5 kB / 459.3 MB, free: 40.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002145/0.2143, allocations: 2.393 MB / 461.7 MB, free: 39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.069e-05/0.2144, allocations: 14.09 kB / 461.7 MB, free: 39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.291e-05/0.2144, allocations: 63.31 kB / 461.7 MB, free: 38.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002945/0.2147, allocations: 224.1 kB / 462 MB, free: 38.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/0.2166, allocations: 1.894 MB / 463.9 MB, free: 38.33 MB / 410.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.006439/0.2231, allocations: 8.418 MB / 472.3 MB, free: 32.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/0.2245, allocations: 1.35 MB / 473.6 MB, free: 31.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005227/0.225, allocations: 0.6028 MB / 474.2 MB, free: 31.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.409e-05/0.2251, allocations: 19.47 kB / 474.2 MB, free: 31.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000766/0.2258, allocations: 0.9181 MB / 475.2 MB, free: 31.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 3.206e-06/0.2258, allocations: 0 / 475.2 MB, free: 31.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=131): time 0.004432/0.2303, allocations: 4.132 MB / 479.3 MB, free: 29.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.88e-05/0.2304, allocations: 291 kB / 479.6 MB, free: 28.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.2315, allocations: 0.9569 MB / 480.5 MB, free: 28.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.627e-05/0.2315, allocations: 48.33 kB / 480.6 MB, free: 28.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004534/0.232, allocations: 0.7753 MB / 481.4 MB, free: 27.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002061/0.2322, allocations: 467.8 kB / 481.8 MB, free: 27.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002895/0.2325, allocations: 327.8 kB / 482.1 MB, free: 27.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.31e-05/0.2326, allocations: 355.6 kB / 482.5 MB, free: 26.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007106/0.2333, allocations: 0.6357 MB / 483.1 MB, free: 26.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009847/0.2343, allocations: 1.22 MB / 484.3 MB, free: 25.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001702/0.236, allocations: 2.006 MB / 486.3 MB, free: 24.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/0.236, allocations: 5.812 kB / 486.3 MB, free: 24.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.002937/0.2389, allocations: 2.538 MB / 488.9 MB, free: 23.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.966e-05/0.239, allocations: 69.34 kB / 489 MB, free: 23.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001788/0.2408, allocations: 1.547 MB / 490.5 MB, free: 22.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008866/0.2416, allocations: 0.5437 MB / 491 MB, free: 22.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006084/0.2422, allocations: 323.9 kB / 491.4 MB, free: 22.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006074/0.2483, allocations: 8.973 MB / 0.4886 GB, free: 16.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008445/0.2492, allocations: 76.56 kB / 0.4887 GB, free: 16.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.2493, allocations: 101.3 kB / 0.4888 GB, free: 16.14 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.000807/0.2501, allocations: 0.5975 MB / 0.4894 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.2502, allocations: 129.5 kB / 0.4895 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/0.2518, allocations: 1.606 MB / 0.4911 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/0.2518, allocations: 13.41 kB / 0.4911 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2518, allocations: 4.719 kB / 0.4911 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/0.2518, allocations: 6.766 kB / 0.4911 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003245/0.2551, allocations: 3.003 MB / 0.494 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.2551, allocations: 3.875 kB / 0.494 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007286/0.2558, allocations: 297 kB / 0.4943 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/0.2558, allocations: 11.92 kB / 0.4943 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.902e-05/0.2559, allocations: 34.78 kB / 0.4943 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.2559, allocations: 11.02 kB / 0.4943 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.2559, allocations: 3.719 kB / 0.4944 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002196/0.2581, allocations: 2.462 MB / 0.4968 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003932/0.2585, allocations: 224.8 kB / 0.497 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.999e-05/0.2586, allocations: 33.41 kB / 0.497 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002943/0.2589, allocations: 42.38 kB / 0.497 GB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.259, allocations: 84.41 kB / 0.4971 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.116e-05/0.2591, allocations: 75.11 kB / 0.4972 GB, free: 12.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005635/0.2597, allocations: 0.6045 MB / 0.4978 GB, free: 12.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.2597, allocations: 0 / 0.4978 GB, free: 12.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001082/0.2608, allocations: 421.3 kB / 0.4982 GB, free: 12.1 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.002265/0.263, allocations: 3.051 MB / 0.5012 GB, free: 10.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002395/0.2654, allocations: 2.373 MB / 0.5035 GB, free: 8.465 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2654, allocations: 192 / 0.5035 GB, free: 8.465 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006809/0.2661, allocations: 0.8483 MB / 0.5043 GB, free: 7.684 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007901/0.2669, allocations: 221.6 kB / 0.5045 GB, free: 7.512 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01248/0.2794, allocations: 13.3 MB / 0.5175 GB, free: 11.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007432/0.2801, allocations: 0.8737 MB / 0.5184 GB, free: 10.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007613/0.2809, allocations: 466.3 kB / 0.5188 GB, free: 9.723 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004918/0.2814, allocations: 0.5667 MB / 0.5194 GB, free: 9.156 MB / 426.7 MB Notification: Performance of SimCode: time 1.573e-06/0.2814, allocations: 0 / 0.5194 GB, free: 9.156 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04679/0.3282, allocations: 28.85 MB / 0.5475 GB, free: 12.62 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.454/7.782, allocations: 0 / 0.5475 GB, free: 12.62 MB / 458.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_TapChanger_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_TapChanger.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1) [Timeout 52.5] 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: 9.827173398807645]