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.001056/0.001056, allocations: 105.9 kB / 16.5 MB, free: 6.688 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.001099/0.001099, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.301/1.301, allocations: 222.9 MB / 241.1 MB, free: 13.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1613/0.1613, allocations: 38.04 MB / 329.3 MB, free: 8.863 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001178, allocations: 60.66 kB / 398.2 MB, free: 34.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1027, allocations: 58.07 MB / 456.3 MB, free: 8.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01129/0.1141, allocations: 10.71 MB / 467 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006949/0.1211, allocations: 3.938 MB / 470.9 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.1223, allocations: 67.56 kB / 471 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002304/0.1247, allocations: 0.9913 MB / 472 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002521/0.1272, allocations: 1.051 MB / 473 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001737/0.129, allocations: 0.6239 MB / 473.6 MB, free: 6.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003909/0.1329, allocations: 4.13 MB / 477.8 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.1341, allocations: 0.7952 MB / 478.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001471/0.1355, allocations: 0.8362 MB / 479.4 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00168/0.1372, allocations: 1.437 MB / 480.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001739/0.1374, allocations: 80 kB / 480.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.1386, allocations: 0.5733 MB / 481.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007457/0.1393, allocations: 0.8884 MB / 482.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007847/0.1401, allocations: 0.8355 MB / 483.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002211/0.1423, allocations: 2.274 MB / 485.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1424, allocations: 0 / 485.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1424, allocations: 0 / 485.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.34e-05/0.1424, allocations: 0 / 485.5 MB, free: 11.07 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.003337/0.1458, allocations: 2.011 MB / 487.5 MB, free: 8.984 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.924e-05/0.1458, allocations: 8.031 kB / 487.5 MB, free: 8.977 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003083/0.1461, allocations: 240.8 kB / 487.7 MB, free: 8.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001798/0.1479, allocations: 350.4 kB / 488.1 MB, free: 8.387 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/0.1495, allocations: 1.028 MB / 489.1 MB, free: 7.316 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.935e-05/0.1496, allocations: 103.1 kB / 489.2 MB, free: 7.215 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002914/0.1499, allocations: 167.9 kB / 489.4 MB, free: 7.051 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002866/0.1527, allocations: 2.324 MB / 491.7 MB, free: 4.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.291e-05/0.1528, allocations: 11.84 kB / 491.7 MB, free: 4.559 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/0.1529, allocations: 63.92 kB / 491.8 MB, free: 4.496 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004942/0.1534, allocations: 226.8 kB / 492 MB, free: 4.273 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002585/0.156, allocations: 1.842 MB / 493.8 MB, free: 2.426 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.01039/0.1664, allocations: 9.579 MB / 0.4916 GB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002075/0.1685, allocations: 1.548 MB / 0.4931 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007891/0.1693, allocations: 0.599 MB / 0.4937 GB, free: 6.129 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.327e-05/0.1694, allocations: 28.97 kB / 0.4937 GB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/0.1705, allocations: 0.8527 MB / 0.4946 GB, free: 5.203 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 2.926e-06/0.1705, allocations: 0 / 0.4946 GB, free: 5.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.005512/0.1761, allocations: 4.015 MB / 0.4985 GB, free: 1.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001461/0.1762, allocations: 278.3 kB / 0.4988 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2376/0.4139, allocations: 0.9108 MB / 0.4996 GB, free: 56.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002735/0.4142, allocations: 49.31 kB / 0.4997 GB, free: 56.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005878/0.4148, allocations: 0.7655 MB / 0.5004 GB, free: 56.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003791/0.4152, allocations: 454.9 kB / 0.5009 GB, free: 55.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004543/0.4156, allocations: 323.5 kB / 0.5012 GB, free: 55.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.4157, allocations: 359 kB / 0.5015 GB, free: 55.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.4167, allocations: 0.5814 MB / 0.5021 GB, free: 55.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.418, allocations: 1.172 MB / 0.5032 GB, free: 54.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002342/0.4203, allocations: 2.007 MB / 0.5052 GB, free: 53.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/0.4204, allocations: 6.094 kB / 0.5052 GB, free: 53.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004442/0.4248, allocations: 2.49 MB / 0.5076 GB, free: 52.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.568e-05/0.4249, allocations: 68.16 kB / 0.5077 GB, free: 52.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002808/0.4277, allocations: 1.571 MB / 0.5092 GB, free: 51.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001598/0.4293, allocations: 0.5436 MB / 0.5098 GB, free: 51.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.4303, allocations: 326.1 kB / 0.5101 GB, free: 51.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008804/0.4392, allocations: 8.713 MB / 0.5186 GB, free: 44.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.4406, allocations: 76.09 kB / 0.5187 GB, free: 44.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000193/0.4408, allocations: 103.8 kB / 0.5188 GB, free: 44.86 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.001105/0.4419, allocations: 0.5927 MB / 0.5193 GB, free: 44.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002162/0.4422, allocations: 125.2 kB / 0.5195 GB, free: 44.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002328/0.4445, allocations: 1.54 MB / 0.521 GB, free: 43.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.4445, allocations: 12.19 kB / 0.521 GB, free: 43.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.4445, allocations: 5.953 kB / 0.521 GB, free: 43.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/0.4446, allocations: 7.406 kB / 0.521 GB, free: 43.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004198/0.4488, allocations: 3.071 MB / 0.524 GB, free: 42.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.4488, allocations: 4.844 kB / 0.524 GB, free: 42.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/0.45, allocations: 295.7 kB / 0.5243 GB, free: 42.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.197e-05/0.4501, allocations: 5.438 kB / 0.5243 GB, free: 42.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.195e-05/0.4501, allocations: 38.73 kB / 0.5243 GB, free: 42.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.395e-06/0.4501, allocations: 10.81 kB / 0.5243 GB, free: 42.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.4502, allocations: 6.562 kB / 0.5243 GB, free: 42.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002573/0.4527, allocations: 2.324 MB / 0.5266 GB, free: 41.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004076/0.4532, allocations: 292.8 kB / 0.5269 GB, free: 41.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.4533, allocations: 31.53 kB / 0.5269 GB, free: 41.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004954/0.4538, allocations: 39.64 kB / 0.5269 GB, free: 41.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.454, allocations: 79.28 kB / 0.527 GB, free: 41.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.998e-05/0.4541, allocations: 82.48 kB / 0.5271 GB, free: 41.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005841/0.4547, allocations: 0.6045 MB / 0.5277 GB, free: 40.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4547, allocations: 0 / 0.5277 GB, free: 40.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001254/0.4559, allocations: 423.2 kB / 0.5281 GB, free: 40.9 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.002517/0.4584, allocations: 2.916 MB / 0.5309 GB, free: 39.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00274/0.4612, allocations: 2.312 MB / 0.5332 GB, free: 36.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4612, allocations: 6 kB / 0.5332 GB, free: 36.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00079/0.462, allocations: 0.8672 MB / 0.534 GB, free: 35.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009712/0.463, allocations: 216.9 kB / 0.5343 GB, free: 35.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01573/0.4787, allocations: 14.25 MB / 0.5482 GB, free: 20.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000758/0.4795, allocations: 1.458 MB / 0.5496 GB, free: 19.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001062/0.4806, allocations: 465.4 kB / 0.55 GB, free: 18.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005237/0.4811, allocations: 0.5735 MB / 0.5506 GB, free: 18.05 MB / 382.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4811, allocations: 0 / 0.5506 GB, free: 18.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03588/0.517, allocations: 25.87 MB / 0.5759 GB, free: 8.457 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/0.5173, allocations: 230 kB / 0.5761 GB, free: 8.207 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.264/2.782, allocations: 0 / 0.5761 GB, free: 8.207 MB / 398.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