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.001084/0.001084, 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.001128/0.001128, 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.229/1.229, allocations: 222.9 MB / 241.1 MB, free: 13.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1638/0.1638, allocations: 38.03 MB / 329.3 MB, free: 8.875 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 60.7 kB / 398.2 MB, free: 34.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08881/0.08994, allocations: 58.07 MB / 456.3 MB, free: 8.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.007502/0.09747, allocations: 7.564 MB / 463.8 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004233/0.1017, allocations: 2.796 MB / 466.6 MB, free: 14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004576/0.1022, allocations: 43.75 kB / 466.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.1036, allocations: 0.5642 MB / 467.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001145/0.1047, allocations: 0.6423 MB / 467.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008823/0.1056, allocations: 407.3 kB / 468.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001825/0.1075, allocations: 2.289 MB / 470.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006535/0.1081, allocations: 460.1 kB / 471 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006084/0.1088, allocations: 497.8 kB / 471.5 MB, free: 9.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009933/0.1098, allocations: 0.8335 MB / 472.3 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.92e-05/0.1099, allocations: 44 kB / 472.4 MB, free: 8.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005398/0.1104, allocations: 287.5 kB / 472.6 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004095/0.1108, allocations: 0.4987 MB / 473.1 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004415/0.1113, allocations: 0.4896 MB / 473.6 MB, free: 6.961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009973/0.1123, allocations: 1.293 MB / 474.9 MB, free: 5.664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1123, allocations: 3.938 kB / 474.9 MB, free: 5.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1123, allocations: 0 / 474.9 MB, free: 5.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.1123, allocations: 0 / 474.9 MB, free: 5.66 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.002079/0.1144, allocations: 1.323 MB / 476.3 MB, free: 4.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.1145, allocations: 8.031 kB / 476.3 MB, free: 4.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001534/0.1146, allocations: 148.3 kB / 476.4 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009141/0.1155, allocations: 207.4 kB / 476.6 MB, free: 3.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009715/0.1165, allocations: 0.6745 MB / 477.3 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.413e-05/0.1166, allocations: 70.36 kB / 477.4 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/0.1168, allocations: 99.81 kB / 477.4 MB, free: 3.031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001767/0.1185, allocations: 1.38 MB / 478.8 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/0.1186, allocations: 7.938 kB / 478.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.77e-05/0.1187, allocations: 35.98 kB / 478.9 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002472/0.1189, allocations: 121.9 kB / 479 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/0.1204, allocations: 1.093 MB / 480.1 MB, free: 304 kB / 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.005876/0.1263, allocations: 5.965 MB / 486 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009484/0.1273, allocations: 0.7009 MB / 486.8 MB, free: 9.281 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004049/0.1277, allocations: 319.8 kB / 487.1 MB, free: 8.965 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.506e-05/0.1277, allocations: 12.55 kB / 487.1 MB, free: 8.953 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005772/0.1283, allocations: 484.6 kB / 487.5 MB, free: 8.445 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.364e-06/0.1283, allocations: 0 / 487.5 MB, free: 8.445 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.003033/0.1314, allocations: 2.144 MB / 489.7 MB, free: 6.227 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.941e-05/0.1315, allocations: 174.9 kB / 489.9 MB, free: 6.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005687/0.1321, allocations: 0.6366 MB / 490.5 MB, free: 5.375 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.431e-05/0.1321, allocations: 37.7 kB / 490.5 MB, free: 5.332 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003393/0.1324, allocations: 0.5289 MB / 491.1 MB, free: 4.793 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.1326, allocations: 228.8 kB / 491.3 MB, free: 4.566 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002278/0.1328, allocations: 202.7 kB / 491.5 MB, free: 4.363 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.133, allocations: 394.7 kB / 491.9 MB, free: 3.969 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004538/0.1334, allocations: 338.4 kB / 492.2 MB, free: 3.637 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006798/0.1341, allocations: 0.7776 MB / 493 MB, free: 2.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.1354, allocations: 1.24 MB / 494.2 MB, free: 1.203 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.1354, allocations: 8 kB / 494.2 MB, free: 1.195 MB / 366.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002223/0.1377, allocations: 1.434 MB / 495.7 MB, free: 15.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.351e-05/0.1377, allocations: 45.62 kB / 495.7 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001307/0.139, allocations: 0.7827 MB / 496.5 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00066/0.1397, allocations: 256.5 kB / 496.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006253/0.1403, allocations: 219.6 kB / 497 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003841/0.1442, allocations: 4.033 MB / 0.4892 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005385/0.1447, allocations: 55.88 kB / 0.4893 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.416e-05/0.1448, allocations: 67.97 kB / 0.4894 GB, free: 10 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.0004642/0.1453, allocations: 411 kB / 0.4898 GB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.849e-05/0.1454, allocations: 71.16 kB / 0.4898 GB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/0.1467, allocations: 0.8515 MB / 0.4907 GB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.1467, allocations: 4 kB / 0.4907 GB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1467, allocations: 7.938 kB / 0.4907 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.1468, allocations: 3.984 kB / 0.4907 GB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002316/0.1491, allocations: 1.767 MB / 0.4924 GB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.1491, allocations: 0 / 0.4924 GB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006443/0.1497, allocations: 148 kB / 0.4925 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.1498, allocations: 4 kB / 0.4925 GB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.393e-05/0.1498, allocations: 27.98 kB / 0.4926 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.1498, allocations: 4 kB / 0.4926 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.1498, allocations: 3.938 kB / 0.4926 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/0.1514, allocations: 1.305 MB / 0.4939 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002338/0.1516, allocations: 200.1 kB / 0.494 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.72e-05/0.1517, allocations: 16 kB / 0.4941 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003361/0.1521, allocations: 31.97 kB / 0.4941 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.878e-05/0.1522, allocations: 48.44 kB / 0.4941 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.42e-05/0.1523, allocations: 43.95 kB / 0.4942 GB, free: 4.898 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004293/0.1527, allocations: 423 kB / 0.4946 GB, free: 4.488 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1527, allocations: 0 / 0.4946 GB, free: 4.488 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007757/0.1535, allocations: 232 kB / 0.4948 GB, free: 4.262 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.001865/0.1554, allocations: 1.873 MB / 0.4966 GB, free: 2.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001666/0.157, allocations: 1.232 MB / 0.4978 GB, free: 1.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.157, allocations: 4 kB / 0.4978 GB, free: 1.066 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005299/0.1576, allocations: 467.9 kB / 0.4983 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006627/0.1583, allocations: 133.8 kB / 0.4984 GB, free: 484 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009955/0.1682, allocations: 8.611 MB / 0.5068 GB, free: 7.324 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006779/0.1689, allocations: 1.118 MB / 0.5079 GB, free: 6.176 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006785/0.1696, allocations: 290.4 kB / 0.5082 GB, free: 5.887 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003771/0.17, allocations: 335.3 kB / 0.5085 GB, free: 5.559 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.17, allocations: 0 / 0.5085 GB, free: 5.559 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2022/0.3722, allocations: 15.25 MB / 0.5234 GB, free: 70.08 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/0.3724, allocations: 229.9 kB / 0.5236 GB, free: 69.83 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/2.369, allocations: 0 / 0.5236 GB, free: 69.83 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","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches