Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 124.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002069/0.002069, allocations: 186.9 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1843/0.1843, allocations: 38.51 MB / 342.5 MB, free: 8.07 MB / 270.1 MB " [Timeout remaining time 180] 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.AC1ph_DC.Transformation.TapChanger,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 68.75 kB / 478.6 MB, free: 33.95 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1047, allocations: 61.25 MB / 0.5272 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.009284/0.114, allocations: 7.38 MB / 0.5344 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003297/0.1173, allocations: 1.73 MB / 0.5361 GB, free: 8.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000429/0.1177, allocations: 27.81 kB / 0.5361 GB, free: 8.309 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006843/0.1184, allocations: 238.4 kB / 0.5364 GB, free: 8.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00133/0.1198, allocations: 0.5715 MB / 0.5369 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004728/0.1202, allocations: 215.6 kB / 0.5371 GB, free: 7.289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001526/0.1218, allocations: 1.265 MB / 0.5384 GB, free: 6.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004219/0.1222, allocations: 282.6 kB / 0.5386 GB, free: 5.738 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000839/0.123, allocations: 0.5524 MB / 0.5392 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.124, allocations: 0.6774 MB / 0.5398 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.1241, allocations: 60 kB / 0.5399 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.1243, allocations: 64 kB / 0.54 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000352/0.1246, allocations: 339 kB / 0.5403 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004941/0.1251, allocations: 433.8 kB / 0.5407 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.1262, allocations: 0.9258 MB / 0.5416 GB, free: 2.695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1262, allocations: 0 / 0.5416 GB, free: 2.695 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1262, allocations: 0 / 0.5416 GB, free: 2.695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.1262, allocations: 0 / 0.5416 GB, free: 2.695 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002115/0.1283, allocations: 1.251 MB / 0.5428 GB, free: 1.375 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1284, allocations: 11.89 kB / 0.5428 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001315/0.1285, allocations: 110.7 kB / 0.5429 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.1287, allocations: 108.3 kB / 0.543 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.13, allocations: 0.7152 MB / 0.5437 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/0.13, allocations: 49.25 kB / 0.5438 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.1301, allocations: 64 kB / 0.5438 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.1314, allocations: 0.81 MB / 0.5446 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.1314, allocations: 0 / 0.5446 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-05/0.1315, allocations: 35.97 kB / 0.5447 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.038e-05/0.1315, allocations: 33.31 kB / 0.5447 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.1326, allocations: 0.6217 MB / 0.5453 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003913/0.1365, allocations: 2.619 MB / 0.5479 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009616/0.1374, allocations: 0.5633 MB / 0.5484 GB, free: 11.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006134/0.1381, allocations: 338 kB / 0.5487 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.1381, allocations: 16.38 kB / 0.5487 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006735/0.1388, allocations: 479 kB / 0.5492 GB, free: 10.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 2.084e-06/0.1388, allocations: 0 / 0.5492 GB, free: 10.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.003277/0.1421, allocations: 2.011 MB / 0.5512 GB, free: 8.457 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001784/0.1422, allocations: 255.8 kB / 0.5514 GB, free: 8.152 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007006/0.1429, allocations: 0.5625 MB / 0.552 GB, free: 7.582 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.993e-05/0.143, allocations: 41.69 kB / 0.552 GB, free: 7.535 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003258/0.1433, allocations: 396.5 kB / 0.5524 GB, free: 7.145 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/0.1435, allocations: 222.1 kB / 0.5526 GB, free: 6.926 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001935/0.1437, allocations: 146.6 kB / 0.5527 GB, free: 6.777 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002055/0.1439, allocations: 390.8 kB / 0.5531 GB, free: 6.387 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003719/0.1443, allocations: 221.9 kB / 0.5533 GB, free: 6.172 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005719/0.1448, allocations: 453.8 kB / 0.5537 GB, free: 5.629 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.1459, allocations: 0.7973 MB / 0.5545 GB, free: 4.707 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1459, allocations: 0 / 0.5545 GB, free: 4.707 MB / 414.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001767/0.1477, allocations: 0.9524 MB / 0.5555 GB, free: 3.727 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.067e-05/0.1477, allocations: 59.41 kB / 0.5555 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.1478, allocations: 11.94 kB / 0.5555 GB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004334/0.1482, allocations: 113.9 kB / 0.5556 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004876/0.1487, allocations: 151.9 kB / 0.5558 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003552/0.1522, allocations: 3.551 MB / 0.5592 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004699/0.1527, allocations: 35.97 kB / 0.5593 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.508e-05/0.1528, allocations: 55.91 kB / 0.5593 GB, free: 15.46 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004661/0.1533, allocations: 362.6 kB / 0.5597 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.1534, allocations: 83.52 kB / 0.5598 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/0.1546, allocations: 0.7819 MB / 0.5605 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.1546, allocations: 8 kB / 0.5605 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.1546, allocations: 0 / 0.5605 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.1547, allocations: 3.984 kB / 0.5605 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00249/0.1571, allocations: 1.565 MB / 0.5621 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.1571, allocations: 3.938 kB / 0.5621 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005031/0.1577, allocations: 115.8 kB / 0.5622 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.447e-06/0.1577, allocations: 7.938 kB / 0.5622 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-05/0.1577, allocations: 24.08 kB / 0.5622 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.1577, allocations: 4 kB / 0.5622 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1577, allocations: 0 / 0.5622 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.1594, allocations: 1.203 MB / 0.5634 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002908/0.1597, allocations: 188.5 kB / 0.5636 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.314e-05/0.1598, allocations: 19.98 kB / 0.5636 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000316/0.1601, allocations: 27.98 kB / 0.5636 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.358e-05/0.1602, allocations: 40.39 kB / 0.5637 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.465e-05/0.1603, allocations: 55.92 kB / 0.5637 GB, free: 10.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004595/0.1607, allocations: 395 kB / 0.5641 GB, free: 10.42 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1607, allocations: 4.062 kB / 0.5641 GB, free: 10.42 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007052/0.1614, allocations: 183.9 kB / 0.5643 GB, free: 10.24 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (trafo1.i1,trafo2.i1) * 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 (55): * Single equations (assignments): 52 * 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.00195/0.1634, allocations: 1.759 MB / 0.566 GB, free: 8.434 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001642/0.165, allocations: 0.9763 MB / 0.5669 GB, free: 7.402 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.165, allocations: 0 / 0.5669 GB, free: 7.402 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005861/0.1656, allocations: 429.2 kB / 0.5673 GB, free: 6.961 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008072/0.1664, allocations: 165 kB / 0.5675 GB, free: 6.809 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008839/0.1753, allocations: 6.294 MB / 0.5736 GB, free: 180 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007177/0.176, allocations: 1.016 MB / 0.5746 GB, free: 15.13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004654/0.1764, allocations: 149.8 kB / 0.5748 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003509/0.1768, allocations: 275.3 kB / 0.575 GB, free: 14.71 MB / 446.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1768, allocations: 0 / 0.575 GB, free: 14.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0467/0.2235, allocations: 14.21 MB / 0.5889 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.47, allocations: 14.66 kB / 0.5889 GB, free: 0.7031 MB / 446.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger_fmu --startTime=0 --stopTime=4 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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: 15.52834266377613]