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.001233/0.001233, allocations: 112.6 kB / 16.51 MB, free: 6.707 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.00135/0.00135, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.29/1.29, allocations: 222.9 MB / 241.1 MB, free: 13.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1616/0.1616, allocations: 38.04 MB / 329.3 MB, free: 8.828 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 63.95 kB / 398.2 MB, free: 34.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1033, allocations: 58.07 MB / 456.3 MB, free: 8.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.009633/0.113, allocations: 9.594 MB / 465.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00607/0.1191, allocations: 3.468 MB / 469.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001359/0.1205, allocations: 59.62 kB / 469.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002263/0.1228, allocations: 0.8393 MB / 470.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001893/0.1247, allocations: 0.8681 MB / 471.1 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.1261, allocations: 0.5693 MB / 471.6 MB, free: 8.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002962/0.1291, allocations: 3.338 MB / 475 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009079/0.13, allocations: 0.6293 MB / 475.6 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.1311, allocations: 0.6807 MB / 476.3 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001454/0.1326, allocations: 1.196 MB / 477.5 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.1327, allocations: 72 kB / 477.6 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001211/0.134, allocations: 0.5342 MB / 478.1 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006453/0.1346, allocations: 0.7482 MB / 478.8 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006868/0.1353, allocations: 0.7072 MB / 479.6 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001818/0.1371, allocations: 1.935 MB / 481.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1371, allocations: 0 / 481.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1372, allocations: 4 kB / 481.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.1372, allocations: 0 / 481.5 MB, free: 15.05 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.002737/0.1399, allocations: 1.664 MB / 483.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.14, allocations: 12.03 kB / 483.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002382/0.1402, allocations: 215.6 kB / 483.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001547/0.1418, allocations: 282.8 kB / 483.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/0.1432, allocations: 0.8598 MB / 484.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-05/0.1432, allocations: 98.73 kB / 484.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002929/0.1435, allocations: 147.9 kB / 484.8 MB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00264/0.1462, allocations: 2.08 MB / 486.8 MB, free: 9.434 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.027e-05/0.1462, allocations: 23.81 kB / 486.9 MB, free: 9.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.1464, allocations: 59.97 kB / 486.9 MB, free: 9.352 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003933/0.1468, allocations: 174.5 kB / 487.1 MB, free: 9.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002365/0.1491, allocations: 1.677 MB / 488.8 MB, free: 7.496 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.009943/0.1591, allocations: 9.41 MB / 498.2 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.1602, allocations: 0.894 MB / 499.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000557/0.1607, allocations: 444.4 kB / 499.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.176e-05/0.1608, allocations: 16.64 kB / 499.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.1609, allocations: 43.22 kB / 499.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=81): time 2.645e-06/0.1609, allocations: 0 / 499.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.004621/0.1655, allocations: 3.041 MB / 0.4908 GB, free: 8.953 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/0.1656, allocations: 90.11 kB / 0.4909 GB, free: 8.844 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000769/0.1663, allocations: 0.7542 MB / 0.4916 GB, free: 8.082 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.871e-05/0.1664, allocations: 41.7 kB / 0.4917 GB, free: 8.035 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004023/0.1668, allocations: 0.6996 MB / 0.4924 GB, free: 7.324 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/0.167, allocations: 303.7 kB / 0.4927 GB, free: 7.023 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002929/0.1673, allocations: 263.2 kB / 0.4929 GB, free: 6.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.1675, allocations: 402.8 kB / 0.4933 GB, free: 6.355 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006376/0.1681, allocations: 455.7 kB / 0.4937 GB, free: 5.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009625/0.1691, allocations: 1.014 MB / 0.4947 GB, free: 4.637 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0017/0.1708, allocations: 1.61 MB / 0.4963 GB, free: 2.762 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.1708, allocations: 7.938 kB / 0.4963 GB, free: 2.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.00324/0.1741, allocations: 1.954 MB / 0.4982 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.1741, allocations: 16.03 kB / 0.4982 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002058/0.1762, allocations: 1.202 MB / 0.4994 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/0.1775, allocations: 455.5 kB / 0.4998 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000753/0.1783, allocations: 259.6 kB / 0.5001 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006215/0.1845, allocations: 5.401 MB / 0.5054 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008044/0.1853, allocations: 55.94 kB / 0.5054 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-05/0.1854, allocations: 71.98 kB / 0.5055 GB, free: 9.062 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.0006803/0.1861, allocations: 479.2 kB / 0.5059 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.1862, allocations: 90.88 kB / 0.506 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002042/0.1883, allocations: 1.38 MB / 0.5074 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.1883, allocations: 12 kB / 0.5074 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1883, allocations: 0 / 0.5074 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.1883, allocations: 7.922 kB / 0.5074 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003465/0.1918, allocations: 2.489 MB / 0.5098 GB, free: 4.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.1918, allocations: 0 / 0.5098 GB, free: 4.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005013/0.1923, allocations: 131.8 kB / 0.5099 GB, free: 4.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005339/0.1929, allocations: 190.4 kB / 0.5101 GB, free: 4.078 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-05/0.193, allocations: 23.98 kB / 0.5101 GB, free: 4.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2025/0.3955, allocations: 4.595 MB / 0.5146 GB, free: 68.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.3955, allocations: 1.188 kB / 0.5146 GB, free: 68.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002766/0.3983, allocations: 1.852 MB / 0.5164 GB, free: 68.06 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003904/0.3987, allocations: 226.8 kB / 0.5167 GB, free: 67.97 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.3988, allocations: 21.86 kB / 0.5167 GB, free: 67.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000352/0.3992, allocations: 27.27 kB / 0.5167 GB, free: 67.97 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.3993, allocations: 63.41 kB / 0.5168 GB, free: 67.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-05/0.3994, allocations: 24.61 kB / 0.5168 GB, free: 67.97 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006728/0.4001, allocations: 0.4912 MB / 0.5173 GB, free: 67.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4001, allocations: 2.625 kB / 0.5173 GB, free: 67.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001267/0.4014, allocations: 329.5 kB / 0.5176 GB, free: 67.78 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.002489/0.4038, allocations: 2.418 MB / 0.5199 GB, free: 66.31 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00257/0.4064, allocations: 1.538 MB / 0.5214 GB, free: 65.69 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.4064, allocations: 0 / 0.5214 GB, free: 65.69 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001207/0.4077, allocations: 0.8392 MB / 0.5223 GB, free: 65.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009344/0.4086, allocations: 162.5 kB / 0.5224 GB, free: 65.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01626/0.4249, allocations: 11.34 MB / 0.5335 GB, free: 58.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009523/0.4259, allocations: 1.314 MB / 0.5348 GB, free: 57.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001004/0.4269, allocations: 370.8 kB / 0.5351 GB, free: 57.62 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000435/0.4273, allocations: 461.9 kB / 0.5356 GB, free: 57.27 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4273, allocations: 3.938 kB / 0.5356 GB, free: 57.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03157/0.4589, allocations: 20.41 MB / 0.5555 GB, free: 43.02 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/0.4591, allocations: 233.7 kB / 0.5557 GB, free: 42.76 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.064/2.523, allocations: 0 / 0.5557 GB, free: 42.76 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","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches