Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.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.ThreeWinding,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding",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.001026/0.001027, allocations: 92.53 kB / 16.65 MB, free: 6.586 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.001241/0.001241, allocations: 185.4 kB / 17.56 MB, free: 6.203 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.277/1.277, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1689/0.1689, allocations: 38.09 MB / 330.8 MB, free: 8.844 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002896/0.0002897, allocations: 8 kB / 400.8 MB, free: 34.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08858/0.08889, allocations: 59.16 MB / 460 MB, free: 6.996 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.008387/0.09731, allocations: 9.122 MB / 469.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005266/0.1026, allocations: 3.429 MB / 472.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006212/0.1033, allocations: 55.56 kB / 472.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005885/0.1039, allocations: 254.5 kB / 472.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00168/0.1055, allocations: 0.8564 MB / 473.7 MB, free: 9.227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.1069, allocations: 0.5693 MB / 474.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003012/0.1099, allocations: 3.334 MB / 477.6 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001785/0.1117, allocations: 1.078 MB / 478.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.1129, allocations: 0.661 MB / 479.3 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001511/0.1144, allocations: 1.145 MB / 480.5 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.1145, allocations: 60 kB / 480.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009164/0.1155, allocations: 0.5186 MB / 481 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006215/0.1161, allocations: 0.7287 MB / 481.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000675/0.1168, allocations: 0.7089 MB / 482.5 MB, free: 356 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.1185, allocations: 1.904 MB / 484.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1185, allocations: 0 / 484.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1185, allocations: 4 kB / 484.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.948e-05/0.1185, allocations: 0 / 484.4 MB, free: 14.43 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: 374 * Number of variables: 374 Notification: Performance of Generate backend data structure: time 0.002503/0.1211, allocations: 1.403 MB / 485.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1211, allocations: 8.031 kB / 485.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002373/0.1214, allocations: 215.6 kB / 486 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001519/0.1229, allocations: 286.8 kB / 486.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.1242, allocations: 0.8714 MB / 487.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.984e-05/0.1242, allocations: 86.8 kB / 487.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002984/0.1246, allocations: 151.9 kB / 487.4 MB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002665/0.1272, allocations: 2.088 MB / 489.5 MB, free: 9.066 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.884e-05/0.1273, allocations: 7.938 kB / 489.5 MB, free: 9.059 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.1274, allocations: 47.98 kB / 489.5 MB, free: 9.012 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004124/0.1278, allocations: 178.5 kB / 489.7 MB, free: 8.836 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002458/0.1303, allocations: 1.68 MB / 491.4 MB, free: 7.148 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.009542/0.1398, allocations: 9.418 MB / 0.4891 GB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.1409, allocations: 0.8951 MB / 0.4899 GB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005718/0.1415, allocations: 448.2 kB / 0.4904 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.531e-05/0.1416, allocations: 12.66 kB / 0.4904 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.1416, allocations: 43.22 kB / 0.4904 GB, free: 11.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=81): time 2.294e-06/0.1416, allocations: 4 kB / 0.4904 GB, free: 11.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.004624/0.1463, allocations: 3.045 MB / 0.4934 GB, free: 8.586 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.1463, allocations: 86.11 kB / 0.4935 GB, free: 8.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008131/0.1472, allocations: 0.7621 MB / 0.4942 GB, free: 7.711 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.134e-05/0.1472, allocations: 33.7 kB / 0.4943 GB, free: 7.672 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004268/0.1477, allocations: 0.7035 MB / 0.495 GB, free: 6.957 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002209/0.1479, allocations: 303.7 kB / 0.4952 GB, free: 6.656 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.148, allocations: 121.6 kB / 0.4954 GB, free: 6.531 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.1482, allocations: 398.7 kB / 0.4957 GB, free: 6.133 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006336/0.1488, allocations: 455.7 kB / 0.4962 GB, free: 5.688 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009938/0.1499, allocations: 1.018 MB / 0.4972 GB, free: 4.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00177/0.1516, allocations: 1.61 MB / 0.4987 GB, free: 2.535 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.1516, allocations: 4 kB / 0.4987 GB, free: 2.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003221/0.1549, allocations: 1.958 MB / 0.5007 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.1549, allocations: 14.34 kB / 0.5007 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1812/0.3361, allocations: 1.202 MB / 0.5018 GB, free: 54.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001384/0.3376, allocations: 454.9 kB / 0.5023 GB, free: 54.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008902/0.3385, allocations: 259.2 kB / 0.5025 GB, free: 54.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005945/0.3444, allocations: 5.394 MB / 0.5078 GB, free: 51.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007835/0.3452, allocations: 61.34 kB / 0.5078 GB, free: 51.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.402e-05/0.3453, allocations: 68.56 kB / 0.5079 GB, free: 51.77 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: 4 (system.initime,trafo3Stray.tap_2_internal[2],trafo3Stray.tap_2_internal[1],trafo3Stray.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * 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 {(3,15,100.0%), (2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006623/0.346, allocations: 473.8 kB / 0.5084 GB, free: 51.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.3461, allocations: 93.16 kB / 0.5085 GB, free: 51.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002102/0.3483, allocations: 1.385 MB / 0.5098 GB, free: 50.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.3483, allocations: 8.375 kB / 0.5098 GB, free: 50.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.016e-06/0.3483, allocations: 3.734 kB / 0.5098 GB, free: 50.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.3483, allocations: 4.875 kB / 0.5098 GB, free: 50.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003862/0.3522, allocations: 2.501 MB / 0.5123 GB, free: 49.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.575e-06/0.3522, allocations: 2.141 kB / 0.5123 GB, free: 49.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005488/0.3528, allocations: 130.6 kB / 0.5124 GB, free: 49.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005574/0.3533, allocations: 187.7 kB / 0.5126 GB, free: 49.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.445e-05/0.3534, allocations: 26.2 kB / 0.5126 GB, free: 49.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003176/0.3566, allocations: 4.612 MB / 0.5171 GB, free: 45.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3566, allocations: 0.9688 kB / 0.5171 GB, free: 45.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/0.3591, allocations: 1.851 MB / 0.5189 GB, free: 44.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003326/0.3594, allocations: 230.9 kB / 0.5191 GB, free: 44.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.372e-05/0.3595, allocations: 26.41 kB / 0.5192 GB, free: 44.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003572/0.3599, allocations: 29.08 kB / 0.5192 GB, free: 44.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.36, allocations: 56.36 kB / 0.5192 GB, free: 44.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.054e-05/0.3601, allocations: 24.97 kB / 0.5193 GB, free: 44.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006323/0.3607, allocations: 0.4953 MB / 0.5197 GB, free: 43.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3607, allocations: 0 / 0.5197 GB, free: 43.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001652/0.3624, allocations: 323.8 kB / 0.5201 GB, free: 43.95 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (trafo3Stray.i2a[1],trafo3Stray.i2a[2],trafo3Stray.i2a[3],trafo3Stray.i2b[1],trafo3Stray.i2b[2],trafo3Stray.i2b[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002897/0.3653, allocations: 2.425 MB / 0.5224 GB, free: 42.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002656/0.368, allocations: 1.54 MB / 0.5239 GB, free: 41.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.368, allocations: 0 / 0.5239 GB, free: 41.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001107/0.3691, allocations: 0.8449 MB / 0.5248 GB, free: 41.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.3702, allocations: 158.5 kB / 0.5249 GB, free: 41.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01357/0.3837, allocations: 11.45 MB / 0.5361 GB, free: 32.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007595/0.3845, allocations: 1.309 MB / 0.5374 GB, free: 31.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008968/0.3855, allocations: 368.4 kB / 0.5377 GB, free: 31.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004171/0.3859, allocations: 459.3 kB / 0.5382 GB, free: 30.79 MB / 382.1 MB Notification: Performance of SimCode: time 1.694e-06/0.3859, allocations: 4 kB / 0.5382 GB, free: 30.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03063/0.4165, allocations: 20.13 MB / 0.5578 GB, free: 10.92 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001452/0.4167, allocations: 239.8 kB / 0.558 GB, free: 10.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.202/2.619, allocations: 0 / 0.558 GB, free: 10.66 MB / 382.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches