Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.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.Elementary.Transformer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer",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.0007851/0.0007849, allocations: 92.14 kB / 16.65 MB, free: 6.59 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.0009251/0.0009254, allocations: 185 kB / 17.57 MB, free: 6.199 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.242/1.242, allocations: 223.2 MB / 241.6 MB, free: 148 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1681/0.1681, allocations: 38.09 MB / 330.8 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000294/0.0002941, allocations: 9.688 kB / 400.8 MB, free: 34.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09287/0.09318, allocations: 59.17 MB / 460 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.007257/0.1005, allocations: 7.139 MB / 467.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004624/0.1051, allocations: 2.746 MB / 469.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006864/0.1058, allocations: 39.75 kB / 469.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006348/0.1065, allocations: 210.8 kB / 470.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001513/0.108, allocations: 0.6306 MB / 470.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.1091, allocations: 407.2 kB / 471.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002247/0.1113, allocations: 2.289 MB / 473.4 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.1127, allocations: 0.7765 MB / 474.2 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009083/0.1136, allocations: 469.8 kB / 474.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001272/0.1149, allocations: 0.8139 MB / 475.5 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.115, allocations: 36 kB / 475.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005399/0.1156, allocations: 259.5 kB / 475.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004471/0.116, allocations: 0.491 MB / 476.3 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005613/0.1166, allocations: 0.5068 MB / 476.8 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.1178, allocations: 1.261 MB / 478 MB, free: 4.844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.1178, allocations: 0 / 478 MB, free: 4.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1178, allocations: 4 kB / 478 MB, free: 4.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.1178, allocations: 0 / 478 MB, free: 4.84 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.001872/0.1197, allocations: 1.132 MB / 479.2 MB, free: 3.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.1197, allocations: 12.03 kB / 479.2 MB, free: 3.637 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001666/0.1199, allocations: 148.3 kB / 479.3 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009758/0.1209, allocations: 203.5 kB / 479.5 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.1219, allocations: 0.6744 MB / 480.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.558e-05/0.122, allocations: 66.38 kB / 480.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002199/0.1222, allocations: 99.89 kB / 480.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/0.1242, allocations: 1.38 MB / 481.7 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.415e-05/0.1242, allocations: 7.938 kB / 481.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.043e-05/0.1243, allocations: 35.98 kB / 481.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002841/0.1246, allocations: 121.9 kB / 481.9 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.1263, allocations: 1.097 MB / 483 MB, free: 15.67 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.006524/0.1328, allocations: 5.969 MB / 489 MB, free: 9.387 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.1339, allocations: 0.7091 MB / 489.7 MB, free: 8.641 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004276/0.1343, allocations: 315.3 kB / 490 MB, free: 8.328 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.303e-05/0.1344, allocations: 16.55 kB / 490 MB, free: 8.312 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006255/0.135, allocations: 476.6 kB / 490.5 MB, free: 7.812 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 1.964e-06/0.135, allocations: 0 / 490.5 MB, free: 7.812 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.003194/0.1382, allocations: 2.152 MB / 492.6 MB, free: 5.586 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.354e-05/0.1383, allocations: 166.9 kB / 492.8 MB, free: 5.387 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006824/0.139, allocations: 0.6405 MB / 493.4 MB, free: 4.738 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.043e-05/0.1391, allocations: 37.7 kB / 493.5 MB, free: 4.695 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003609/0.1394, allocations: 0.525 MB / 494 MB, free: 4.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.1396, allocations: 232.8 kB / 494.2 MB, free: 3.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.1397, allocations: 93.66 kB / 494.3 MB, free: 3.832 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1399, allocations: 390.7 kB / 494.7 MB, free: 3.441 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004985/0.1404, allocations: 342.3 kB / 495 MB, free: 3.105 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009184/0.1413, allocations: 0.7737 MB / 495.8 MB, free: 2.133 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/0.1429, allocations: 1.248 MB / 497 MB, free: 0.668 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.1429, allocations: 4 kB / 497 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002373/0.1453, allocations: 1.438 MB / 498.5 MB, free: 15.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/0.1453, allocations: 41.64 kB / 498.5 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00135/0.1467, allocations: 0.7866 MB / 499.3 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007017/0.1474, allocations: 253.5 kB / 499.6 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006642/0.1481, allocations: 211.6 kB / 499.8 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004134/0.1522, allocations: 4.042 MB / 0.492 GB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006571/0.1529, allocations: 51.97 kB / 0.492 GB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.42e-05/0.153, allocations: 68.09 kB / 0.4921 GB, free: 9.473 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * 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 {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005284/0.1536, allocations: 410.9 kB / 0.4925 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.1537, allocations: 75.06 kB / 0.4926 GB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.1549, allocations: 0.8439 MB / 0.4934 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.155, allocations: 4 kB / 0.4934 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.155, allocations: 3.938 kB / 0.4934 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.155, allocations: 11.98 kB / 0.4934 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002489/0.1575, allocations: 1.763 MB / 0.4951 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1575, allocations: 0 / 0.4951 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006649/0.1582, allocations: 152 kB / 0.4953 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.1582, allocations: 4 kB / 0.4953 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-05/0.1583, allocations: 23.98 kB / 0.4953 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.1583, allocations: 7.938 kB / 0.4953 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1583, allocations: 0 / 0.4953 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.1599, allocations: 1.305 MB / 0.4966 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002904/0.1602, allocations: 212 kB / 0.4968 GB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.32e-05/0.1603, allocations: 12 kB / 0.4968 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003431/0.1607, allocations: 31.97 kB / 0.4968 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.168e-05/0.1608, allocations: 48.5 kB / 0.4969 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.898e-05/0.1609, allocations: 39.97 kB / 0.4969 GB, free: 4.367 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004688/0.1613, allocations: 423 kB / 0.4973 GB, free: 3.957 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1613, allocations: 0 / 0.4973 GB, free: 3.957 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008572/0.1622, allocations: 232 kB / 0.4975 GB, free: 3.73 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.001959/0.1642, allocations: 1.865 MB / 0.4994 GB, free: 1.816 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001878/0.1661, allocations: 1.241 MB / 0.5006 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1661, allocations: 0 / 0.5006 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005447/0.1666, allocations: 470.8 kB / 0.501 GB, free: 68 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1823/0.3489, allocations: 124.9 kB / 0.5011 GB, free: 56.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/0.3611, allocations: 8.693 MB / 0.5096 GB, free: 52.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000793/0.3619, allocations: 1.113 MB / 0.5107 GB, free: 51.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008031/0.3628, allocations: 289.8 kB / 0.511 GB, free: 51.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003628/0.3631, allocations: 331.6 kB / 0.5113 GB, free: 51.48 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3631, allocations: 0 / 0.5113 GB, free: 51.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02875/0.3919, allocations: 15.05 MB / 0.526 GB, free: 45.37 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001501/0.3921, allocations: 234.8 kB / 0.5262 GB, free: 45.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.99/2.382, allocations: 0 / 0.5262 GB, free: 45.11 MB / 382.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Transformer.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches