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.001706/0.001706, allocations: 103.9 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.001738/0.001738, allocations: 189.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.311/1.311, allocations: 222.9 MB / 241.2 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1699/0.1699, allocations: 38.03 MB / 329.4 MB, free: 9.051 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 65.75 kB / 398.4 MB, free: 34.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09519/0.09662, allocations: 58.07 MB / 456.5 MB, free: 8.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.01143/0.1081, allocations: 9.59 MB / 466 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006491/0.1146, allocations: 3.413 MB / 469.5 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001523/0.1162, allocations: 59.62 kB / 469.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002505/0.1188, allocations: 0.8349 MB / 470.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00252/0.1213, allocations: 0.8408 MB / 471.2 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00169/0.123, allocations: 0.5927 MB / 471.8 MB, free: 8.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002605/0.1256, allocations: 1.958 MB / 473.7 MB, free: 6.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.1269, allocations: 0.7007 MB / 474.4 MB, free: 6.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001607/0.1285, allocations: 0.8289 MB / 475.3 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001921/0.1304, allocations: 1.207 MB / 476.5 MB, free: 4.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003727/0.1308, allocations: 112 kB / 476.6 MB, free: 4.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.1321, allocations: 0.5421 MB / 477.1 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009225/0.133, allocations: 0.7834 MB / 477.9 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001249/0.1342, allocations: 0.7619 MB / 478.7 MB, free: 2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00252/0.1368, allocations: 1.982 MB / 480.7 MB, free: 12 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1368, allocations: 0 / 480.7 MB, free: 12 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1368, allocations: 0 / 480.7 MB, free: 12 kB / 350.1 MB Notification: Performance of Transformations before backend: time 2.216e-05/0.1368, allocations: 0 / 480.7 MB, free: 12 kB / 350.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.002721/0.1396, allocations: 1.664 MB / 482.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.1396, allocations: 15.89 kB / 482.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002226/0.1398, allocations: 215.6 kB / 482.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001555/0.1414, allocations: 274.9 kB / 482.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.1427, allocations: 0.8714 MB / 483.7 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.344e-05/0.1428, allocations: 90.78 kB / 483.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003053/0.1431, allocations: 155.9 kB / 483.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002608/0.1457, allocations: 2.084 MB / 486 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.814e-05/0.1458, allocations: 15.84 kB / 486 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.1459, allocations: 47.98 kB / 486.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00041/0.1463, allocations: 182.5 kB / 486.3 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002523/0.1489, allocations: 1.673 MB / 487.9 MB, free: 8.461 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.01089/0.1598, allocations: 9.418 MB / 497.3 MB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/0.161, allocations: 0.8951 MB / 498.2 MB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006089/0.1617, allocations: 440.4 kB / 498.7 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.206e-05/0.1617, allocations: 16.62 kB / 498.7 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.1618, allocations: 43.22 kB / 498.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=81): time 4.117e-06/0.1618, allocations: 0 / 498.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.005139/0.1669, allocations: 3.041 MB / 0.49 GB, free: 9.918 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.26e-05/0.167, allocations: 86.11 kB / 0.4901 GB, free: 9.812 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00097/0.168, allocations: 0.7581 MB / 0.4908 GB, free: 9.043 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.027e-05/0.1681, allocations: 33.7 kB / 0.4909 GB, free: 9.004 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004777/0.1686, allocations: 0.7035 MB / 0.4916 GB, free: 8.289 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002523/0.1688, allocations: 311.7 kB / 0.4919 GB, free: 7.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003193/0.1692, allocations: 255.3 kB / 0.4921 GB, free: 7.727 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.1694, allocations: 406.7 kB / 0.4925 GB, free: 7.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000645/0.17, allocations: 451.7 kB / 0.4929 GB, free: 6.879 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.171, allocations: 1.01 MB / 0.4939 GB, free: 5.609 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00179/0.1728, allocations: 1.614 MB / 0.4955 GB, free: 3.734 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.1728, allocations: 4 kB / 0.4955 GB, free: 3.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003252/0.1761, allocations: 1.962 MB / 0.4974 GB, free: 1.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.1761, allocations: 12 kB / 0.4974 GB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002123/0.1783, allocations: 1.203 MB / 0.4986 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001383/0.1797, allocations: 463.3 kB / 0.499 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008632/0.1805, allocations: 255.6 kB / 0.4993 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00723/0.1878, allocations: 5.892 MB / 0.505 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000811/0.1886, allocations: 55.98 kB / 0.5051 GB, free: 9.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/0.1888, allocations: 71.98 kB / 0.5051 GB, free: 9.531 MB / 398.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.0007812/0.1896, allocations: 469.1 kB / 0.5056 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/0.1898, allocations: 94.81 kB / 0.5057 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/0.192, allocations: 1.395 MB / 0.507 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.192, allocations: 12 kB / 0.5071 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-05/0.192, allocations: 0 / 0.5071 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.1921, allocations: 3.984 kB / 0.5071 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003793/0.1958, allocations: 2.485 MB / 0.5095 GB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.1959, allocations: 0 / 0.5095 GB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005375/0.1964, allocations: 131.8 kB / 0.5096 GB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005233/0.197, allocations: 194.4 kB / 0.5098 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.288e-05/0.197, allocations: 27.98 kB / 0.5098 GB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2275/0.4246, allocations: 4.94 MB / 0.5146 GB, free: 68.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.299e-06/0.4246, allocations: 4.906 kB / 0.5146 GB, free: 68.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002964/0.4276, allocations: 1.848 MB / 0.5165 GB, free: 67.99 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004532/0.4281, allocations: 228.7 kB / 0.5167 GB, free: 67.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001794/0.4283, allocations: 24.23 kB / 0.5167 GB, free: 67.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000456/0.4287, allocations: 23.61 kB / 0.5167 GB, free: 67.9 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.4289, allocations: 68.06 kB / 0.5168 GB, free: 67.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.106e-05/0.429, allocations: 24.22 kB / 0.5168 GB, free: 67.9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007601/0.4297, allocations: 0.4907 MB / 0.5173 GB, free: 67.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4297, allocations: 0 / 0.5173 GB, free: 67.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001322/0.4311, allocations: 329.4 kB / 0.5176 GB, free: 67.8 MB / 398.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.002584/0.4336, allocations: 2.423 MB / 0.52 GB, free: 66.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003191/0.4369, allocations: 1.835 MB / 0.5218 GB, free: 65.97 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4369, allocations: 0 / 0.5218 GB, free: 65.97 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001291/0.4382, allocations: 0.8389 MB / 0.5226 GB, free: 65.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008959/0.4391, allocations: 173.5 kB / 0.5227 GB, free: 65.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01525/0.4543, allocations: 11.35 MB / 0.5338 GB, free: 58.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000868/0.4552, allocations: 1.317 MB / 0.5351 GB, free: 57.96 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000875/0.4561, allocations: 372.9 kB / 0.5355 GB, free: 57.92 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003717/0.4565, allocations: 455.8 kB / 0.5359 GB, free: 57.57 MB / 398.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4565, allocations: 0 / 0.5359 GB, free: 57.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.892/2.349, allocations: 20.86 MB / 0.5563 GB, free: 42.02 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002262/2.349, allocations: 237.8 kB / 0.5565 GB, free: 41.77 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.374/4.723, allocations: 64 / 0.5565 GB, free: 41.77 MB / 398.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches