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.001522/0.001522, allocations: 106 kB / 16.62 MB, free: 6.812 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.001748/0.001748, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.332/1.332, allocations: 222.9 MB / 241.2 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1732/0.1732, allocations: 38.04 MB / 329.4 MB, free: 8.832 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001405, allocations: 63.81 kB / 398.4 MB, free: 34.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1089, allocations: 58.06 MB / 456.5 MB, free: 8.32 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.007985/0.1169, allocations: 7.564 MB / 464 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004303/0.1213, allocations: 2.75 MB / 466.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007514/0.122, allocations: 43.69 kB / 466.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001588/0.1237, allocations: 0.5681 MB / 467.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.1251, allocations: 0.6268 MB / 468 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.1262, allocations: 419.3 kB / 468.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001757/0.128, allocations: 1.369 MB / 469.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008351/0.1288, allocations: 0.5038 MB / 470.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.1299, allocations: 0.5759 MB / 470.9 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001304/0.1312, allocations: 0.8529 MB / 471.7 MB, free: 8.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002183/0.1314, allocations: 72 kB / 471.8 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006179/0.1321, allocations: 275.6 kB / 472.1 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006228/0.1327, allocations: 0.5261 MB / 472.6 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008983/0.1336, allocations: 0.5364 MB / 473.1 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001552/0.1352, allocations: 1.316 MB / 474.4 MB, free: 6.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1352, allocations: 0 / 474.4 MB, free: 6.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1352, allocations: 0 / 474.4 MB, free: 6.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.553e-05/0.1353, allocations: 0 / 474.4 MB, free: 6.262 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.002672/0.1379, allocations: 1.322 MB / 475.8 MB, free: 4.883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.138, allocations: 11.89 kB / 475.8 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002149/0.1382, allocations: 160.3 kB / 475.9 MB, free: 4.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.1392, allocations: 199.4 kB / 476.1 MB, free: 4.512 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.1405, allocations: 0.6707 MB / 476.8 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.538e-05/0.1405, allocations: 62.36 kB / 476.9 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002493/0.1408, allocations: 99.81 kB / 477 MB, free: 3.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/0.143, allocations: 1.384 MB / 478.3 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.408e-05/0.1431, allocations: 7.938 kB / 478.3 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.1432, allocations: 39.98 kB / 478.4 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002928/0.1435, allocations: 113.9 kB / 478.5 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001723/0.1452, allocations: 1.1 MB / 479.6 MB, free: 0.8906 MB / 350.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.006653/0.1519, allocations: 5.969 MB / 485.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009546/0.1529, allocations: 0.7022 MB / 486.3 MB, free: 9.875 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004155/0.1533, allocations: 315.3 kB / 486.6 MB, free: 9.562 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.046e-05/0.1534, allocations: 20.48 kB / 486.6 MB, free: 9.543 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006346/0.154, allocations: 472.6 kB / 487.1 MB, free: 9.047 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.354e-06/0.154, allocations: 0 / 487.1 MB, free: 9.047 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.003154/0.1572, allocations: 2.152 MB / 489.2 MB, free: 6.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.967e-05/0.1573, allocations: 170.9 kB / 489.4 MB, free: 6.617 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006783/0.158, allocations: 0.6405 MB / 490 MB, free: 5.965 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.705e-05/0.158, allocations: 37.7 kB / 490.1 MB, free: 5.922 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003416/0.1584, allocations: 0.525 MB / 490.6 MB, free: 5.387 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/0.1586, allocations: 228.8 kB / 490.8 MB, free: 5.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002509/0.1588, allocations: 210.7 kB / 491 MB, free: 4.949 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.159, allocations: 390.7 kB / 491.4 MB, free: 4.559 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004997/0.1595, allocations: 346.4 kB / 491.7 MB, free: 4.219 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007389/0.1602, allocations: 0.7698 MB / 492.5 MB, free: 3.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.1617, allocations: 1.24 MB / 493.7 MB, free: 1.793 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.35e-05/0.1617, allocations: 4 kB / 493.7 MB, free: 1.789 MB / 366.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002499/0.1642, allocations: 1.434 MB / 495.2 MB, free: 344 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.288e-05/0.1643, allocations: 45.62 kB / 495.2 MB, free: 292 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001417/0.1657, allocations: 0.7867 MB / 496 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007121/0.1664, allocations: 253.5 kB / 496.3 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000694/0.1671, allocations: 219.6 kB / 496.5 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004456/0.1716, allocations: 4.374 MB / 0.4891 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006406/0.1723, allocations: 55.88 kB / 0.4892 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.1724, allocations: 67.97 kB / 0.4892 GB, free: 10.24 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.0005501/0.173, allocations: 403 kB / 0.4896 GB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.1731, allocations: 79 kB / 0.4897 GB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.1745, allocations: 0.8516 MB / 0.4905 GB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.1745, allocations: 12 kB / 0.4905 GB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.1745, allocations: 0 / 0.4905 GB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.1745, allocations: 3.984 kB / 0.4905 GB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002562/0.1771, allocations: 1.76 MB / 0.4922 GB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.1771, allocations: 4.156 kB / 0.4922 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006975/0.1778, allocations: 151.8 kB / 0.4924 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.908e-06/0.1778, allocations: 4 kB / 0.4924 GB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.966e-05/0.1779, allocations: 19.98 kB / 0.4924 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.1779, allocations: 4 kB / 0.4924 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1779, allocations: 0 / 0.4924 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.1795, allocations: 1.305 MB / 0.4937 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002921/0.1798, allocations: 208.1 kB / 0.4939 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.18, allocations: 16 kB / 0.4939 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003626/0.1803, allocations: 31.97 kB / 0.4939 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.1804, allocations: 44.44 kB / 0.494 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.131e-05/0.1805, allocations: 48.05 kB / 0.494 GB, free: 5.141 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005069/0.181, allocations: 431 kB / 0.4944 GB, free: 4.727 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.181, allocations: 3.938 kB / 0.4944 GB, free: 4.723 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008463/0.1819, allocations: 232 kB / 0.4947 GB, free: 4.496 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.002163/0.1841, allocations: 1.865 MB / 0.4965 GB, free: 2.582 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002299/0.1864, allocations: 1.425 MB / 0.4979 GB, free: 1.121 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.1864, allocations: 0 / 0.4979 GB, free: 1.121 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005858/0.187, allocations: 466.9 kB / 0.4983 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007793/0.1878, allocations: 142.2 kB / 0.4985 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/0.2002, allocations: 8.619 MB / 0.5069 GB, free: 7.363 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007903/0.201, allocations: 1.11 MB / 0.508 GB, free: 6.219 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008066/0.2018, allocations: 294.4 kB / 0.5082 GB, free: 5.926 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005611/0.2024, allocations: 331.3 kB / 0.5086 GB, free: 5.602 MB / 398.1 MB Notification: Performance of SimCode: time 2.034e-06/0.2024, allocations: 0 / 0.5086 GB, free: 5.602 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2806/0.483, allocations: 15.62 MB / 0.5238 GB, free: 70.63 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/0.4833, allocations: 230.2 kB / 0.524 GB, free: 70.38 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.126/2.61, allocations: 0 / 0.524 GB, free: 70.38 MB / 398.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches