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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008997/0.0008998, allocations: 92.95 kB / 16.65 MB, free: 6.602 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.001076/0.001076, allocations: 172.7 kB / 17.56 MB, free: 6.203 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.297/1.297, allocations: 223.2 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1752/0.1752, allocations: 38.08 MB / 330.8 MB, free: 8.527 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003167/0.0003169, allocations: 9.125 kB / 400.8 MB, free: 34.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1016, allocations: 59.17 MB / 460 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01047/0.1121, allocations: 10.21 MB / 470.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006567/0.1187, allocations: 3.88 MB / 474.1 MB, free: 8.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009954/0.1197, allocations: 59.56 kB / 474.1 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008352/0.1206, allocations: 358 kB / 474.5 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001975/0.1226, allocations: 1.055 MB / 475.5 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.124, allocations: 0.6317 MB / 476.2 MB, free: 6.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003543/0.1276, allocations: 4.126 MB / 480.3 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001825/0.1294, allocations: 1.228 MB / 481.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.1308, allocations: 0.7894 MB / 482.3 MB, free: 500 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001727/0.1325, allocations: 1.394 MB / 483.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.1326, allocations: 64 kB / 483.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009576/0.1336, allocations: 0.5498 MB / 484.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000689/0.1343, allocations: 0.8611 MB / 485.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000728/0.135, allocations: 0.8331 MB / 486 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001884/0.1369, allocations: 2.231 MB / 488.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.137, allocations: 0 / 488.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.137, allocations: 0 / 488.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.74e-05/0.137, allocations: 0 / 488.2 MB, free: 10.53 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.002807/0.1398, allocations: 1.688 MB / 489.9 MB, free: 8.773 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1399, allocations: 8.031 kB / 489.9 MB, free: 8.766 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002683/0.1401, allocations: 236.8 kB / 490.2 MB, free: 8.523 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001708/0.1418, allocations: 350.4 kB / 490.5 MB, free: 8.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00161/0.1435, allocations: 1.024 MB / 491.5 MB, free: 7.113 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.339e-05/0.1436, allocations: 107.1 kB / 491.6 MB, free: 7.008 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003165/0.1439, allocations: 175.7 kB / 491.8 MB, free: 6.836 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003129/0.147, allocations: 2.32 MB / 494.1 MB, free: 4.359 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.565e-05/0.1471, allocations: 11.92 kB / 494.1 MB, free: 4.348 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/0.1472, allocations: 71.91 kB / 494.2 MB, free: 4.277 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005365/0.1478, allocations: 218.8 kB / 494.4 MB, free: 4.062 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002704/0.1505, allocations: 1.846 MB / 496.3 MB, free: 2.211 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.01/0.1605, allocations: 9.571 MB / 0.494 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002269/0.1628, allocations: 1.552 MB / 0.4955 GB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008656/0.1637, allocations: 0.6067 MB / 0.4961 GB, free: 5.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.533e-05/0.1638, allocations: 24.97 kB / 0.4961 GB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001162/0.1649, allocations: 0.849 MB / 0.497 GB, free: 4.992 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 3.005e-06/0.165, allocations: 0 / 0.497 GB, free: 4.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.005857/0.1708, allocations: 4.019 MB / 0.5009 GB, free: 0.875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001631/0.171, allocations: 286.3 kB / 0.5011 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2351/0.4062, allocations: 0.909 MB / 0.502 GB, free: 39.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002597/0.4065, allocations: 49.67 kB / 0.5021 GB, free: 39.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006607/0.4071, allocations: 0.763 MB / 0.5028 GB, free: 39.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003553/0.4075, allocations: 458.6 kB / 0.5033 GB, free: 39.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.4077, allocations: 148.8 kB / 0.5034 GB, free: 39.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.4078, allocations: 358.1 kB / 0.5038 GB, free: 39.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001/0.4088, allocations: 0.5796 MB / 0.5043 GB, free: 39.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/0.41, allocations: 1.169 MB / 0.5055 GB, free: 38.35 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002248/0.4123, allocations: 1.998 MB / 0.5074 GB, free: 37.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/0.4123, allocations: 10.23 kB / 0.5074 GB, free: 37.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004424/0.4167, allocations: 2.496 MB / 0.5099 GB, free: 37.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.173e-05/0.4168, allocations: 71.77 kB / 0.5099 GB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003077/0.4199, allocations: 1.569 MB / 0.5115 GB, free: 37.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001657/0.4216, allocations: 0.5443 MB / 0.512 GB, free: 37.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.4228, allocations: 322.2 kB / 0.5123 GB, free: 37.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009615/0.4324, allocations: 8.718 MB / 0.5208 GB, free: 31.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.4337, allocations: 78.53 kB / 0.5209 GB, free: 31.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001707/0.4338, allocations: 97.23 kB / 0.521 GB, free: 31.66 MB / 382.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.0009251/0.4348, allocations: 0.5966 MB / 0.5216 GB, free: 31.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/0.435, allocations: 128 kB / 0.5217 GB, free: 31.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002171/0.4371, allocations: 1.535 MB / 0.5232 GB, free: 30.63 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.4372, allocations: 15.53 kB / 0.5232 GB, free: 30.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4372, allocations: 4.562 kB / 0.5232 GB, free: 30.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.4372, allocations: 6.891 kB / 0.5232 GB, free: 30.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00407/0.4413, allocations: 3.078 MB / 0.5262 GB, free: 29.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.4413, allocations: 4.734 kB / 0.5262 GB, free: 29.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00127/0.4426, allocations: 298.7 kB / 0.5265 GB, free: 29.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.22e-05/0.4426, allocations: 6.875 kB / 0.5265 GB, free: 29.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.489e-05/0.4427, allocations: 38.72 kB / 0.5265 GB, free: 29.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.4427, allocations: 9.594 kB / 0.5266 GB, free: 29.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4427, allocations: 1.938 kB / 0.5266 GB, free: 29.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00264/0.4453, allocations: 2.316 MB / 0.5288 GB, free: 28.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004263/0.4458, allocations: 293.8 kB / 0.5291 GB, free: 28.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/0.4459, allocations: 30.81 kB / 0.5291 GB, free: 28.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005365/0.4465, allocations: 53.78 kB / 0.5292 GB, free: 28.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.4466, allocations: 81.97 kB / 0.5293 GB, free: 28.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.4467, allocations: 75.86 kB / 0.5293 GB, free: 28.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006462/0.4474, allocations: 0.6079 MB / 0.5299 GB, free: 27.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4474, allocations: 4 kB / 0.5299 GB, free: 27.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001369/0.4488, allocations: 419.9 kB / 0.5303 GB, free: 27.75 MB / 382.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.002667/0.4514, allocations: 2.907 MB / 0.5332 GB, free: 26.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002992/0.4545, allocations: 2.329 MB / 0.5354 GB, free: 24.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.4545, allocations: 0 / 0.5354 GB, free: 24.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008545/0.4553, allocations: 0.8753 MB / 0.5363 GB, free: 24.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.4566, allocations: 214.6 kB / 0.5365 GB, free: 23.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01679/0.4735, allocations: 14.35 MB / 0.5505 GB, free: 8.902 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009103/0.4744, allocations: 1.46 MB / 0.5519 GB, free: 7.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001119/0.4755, allocations: 466.3 kB / 0.5524 GB, free: 6.949 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005511/0.4761, allocations: 0.5657 MB / 0.5529 GB, free: 6.383 MB / 382.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4761, allocations: 0 / 0.5529 GB, free: 6.383 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04852/0.5246, allocations: 25.55 MB / 0.5779 GB, free: 13.16 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002925/0.525, allocations: 234.6 kB / 0.5781 GB, free: 12.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.442/2.967, allocations: 0 / 0.5781 GB, free: 12.91 MB / 414.1 MB (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 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_TapChanger.fmu > 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","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches