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.00143/0.001434, allocations: 109 kB / 16.92 MB, free: 6.184 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.001641/0.001641, allocations: 191.4 kB / 17.85 MB, free: 5.289 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.363/1.363, allocations: 222.9 MB / 241.5 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1803/0.1803, allocations: 38.04 MB / 329.7 MB, free: 8.855 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 69.8 kB / 398.9 MB, free: 33.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08714/0.08851, allocations: 58.06 MB / 457 MB, free: 7.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.008716/0.09726, allocations: 8.151 MB / 465.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004714/0.102, allocations: 2.977 MB / 468.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005394/0.1026, allocations: 31.81 kB / 468.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00207/0.1046, allocations: 0.8976 MB / 469 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001714/0.1064, allocations: 0.8987 MB / 469.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.1077, allocations: 0.6315 MB / 470.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00192/0.1097, allocations: 1.954 MB / 472.5 MB, free: 8.355 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008274/0.1105, allocations: 0.6577 MB / 473.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.1116, allocations: 0.8095 MB / 474 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001445/0.113, allocations: 1.114 MB / 475.1 MB, free: 5.758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002756/0.1133, allocations: 116 kB / 475.2 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009617/0.1143, allocations: 0.5382 MB / 475.7 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000693/0.115, allocations: 0.7756 MB / 476.5 MB, free: 4.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008627/0.1158, allocations: 0.762 MB / 477.3 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001774/0.1176, allocations: 1.97 MB / 479.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1176, allocations: 0 / 479.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1177, allocations: 0 / 479.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.556e-05/0.1177, allocations: 4 kB / 479.3 MB, free: 1.582 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: 374 * Number of variables: 374 Notification: Performance of Generate backend data structure: time 0.002883/0.1206, allocations: 1.667 MB / 480.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.1206, allocations: 11.89 kB / 480.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002466/0.1209, allocations: 219.5 kB / 481.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001655/0.1226, allocations: 278.9 kB / 481.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.124, allocations: 0.8637 MB / 482.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.887e-05/0.1241, allocations: 98.78 kB / 482.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003004/0.1244, allocations: 147.8 kB / 482.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002716/0.1271, allocations: 2.084 MB / 484.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.813e-05/0.1272, allocations: 7.938 kB / 484.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.1273, allocations: 55.97 kB / 484.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004332/0.1277, allocations: 174.5 kB / 484.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002699/0.1304, allocations: 1.68 MB / 486.5 MB, free: 10.04 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.009897/0.1403, allocations: 9.411 MB / 495.9 MB, free: 112 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.1415, allocations: 0.8913 MB / 496.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005776/0.1421, allocations: 438.8 kB / 497.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.83e-05/0.1421, allocations: 20.62 kB / 497.3 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.1422, allocations: 39.22 kB / 497.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=81): time 4.378e-06/0.1422, allocations: 4 kB / 497.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.004644/0.1468, allocations: 3.037 MB / 0.4886 GB, free: 11.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.1469, allocations: 94.14 kB / 0.4887 GB, free: 11.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007835/0.1477, allocations: 0.7543 MB / 0.4895 GB, free: 10.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.008e-05/0.1478, allocations: 37.7 kB / 0.4895 GB, free: 10.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004048/0.1482, allocations: 0.6996 MB / 0.4902 GB, free: 9.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/0.1484, allocations: 307.7 kB / 0.4905 GB, free: 9.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002993/0.1487, allocations: 259.3 kB / 0.4907 GB, free: 9.312 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1489, allocations: 402.7 kB / 0.4911 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006477/0.1495, allocations: 455.7 kB / 0.4915 GB, free: 8.465 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.1506, allocations: 1.018 MB / 0.4925 GB, free: 7.188 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001831/0.1524, allocations: 1.602 MB / 0.4941 GB, free: 5.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/0.1524, allocations: 4 kB / 0.4941 GB, free: 5.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003324/0.1558, allocations: 1.961 MB / 0.496 GB, free: 3.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.1558, allocations: 12 kB / 0.496 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002108/0.1579, allocations: 1.207 MB / 0.4972 GB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001292/0.1592, allocations: 463.7 kB / 0.4976 GB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007838/0.16, allocations: 255.6 kB / 0.4979 GB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006824/0.1669, allocations: 5.903 MB / 0.5037 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006913/0.1676, allocations: 59.92 kB / 0.5037 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.1677, allocations: 72 kB / 0.5038 GB, free: 11.1 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.0006273/0.1684, allocations: 463.6 kB / 0.5042 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.1685, allocations: 90.88 kB / 0.5043 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/0.1706, allocations: 1.391 MB / 0.5057 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.1706, allocations: 8 kB / 0.5057 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.1706, allocations: 0 / 0.5057 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.1706, allocations: 3.984 kB / 0.5057 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003619/0.1743, allocations: 2.492 MB / 0.5081 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.1743, allocations: 0 / 0.5081 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005165/0.1748, allocations: 131.8 kB / 0.5082 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005037/0.1753, allocations: 190.4 kB / 0.5084 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.364e-05/0.1754, allocations: 27.97 kB / 0.5084 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003725/0.1791, allocations: 4.96 MB / 0.5133 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1791, allocations: 0 / 0.5133 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1894/0.3685, allocations: 1.847 MB / 0.5151 GB, free: 68.69 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005838/0.3692, allocations: 227.9 kB / 0.5153 GB, free: 68.6 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/0.3693, allocations: 21.56 kB / 0.5153 GB, free: 68.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005265/0.3699, allocations: 27.31 kB / 0.5154 GB, free: 68.6 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.37, allocations: 62.75 kB / 0.5154 GB, free: 68.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.382e-05/0.3701, allocations: 27.67 kB / 0.5154 GB, free: 68.6 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008873/0.371, allocations: 0.4886 MB / 0.5159 GB, free: 68.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.371, allocations: 0.8438 kB / 0.5159 GB, free: 68.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001926/0.373, allocations: 326.4 kB / 0.5162 GB, free: 68.5 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.003506/0.3765, allocations: 2.423 MB / 0.5186 GB, free: 67.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0047/0.3812, allocations: 1.83 MB / 0.5204 GB, free: 66.94 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.3812, allocations: 1.625 kB / 0.5204 GB, free: 66.94 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001777/0.383, allocations: 0.8398 MB / 0.5212 GB, free: 66.45 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/0.3844, allocations: 170.6 kB / 0.5214 GB, free: 66.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02087/0.4053, allocations: 10.8 MB / 0.5319 GB, free: 60.3 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/0.4066, allocations: 1.314 MB / 0.5332 GB, free: 59.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00101/0.4076, allocations: 367.7 kB / 0.5335 GB, free: 59.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004712/0.4081, allocations: 464.6 kB / 0.534 GB, free: 59.12 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4081, allocations: 0 / 0.534 GB, free: 59.12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04348/0.4516, allocations: 20.93 MB / 0.5544 GB, free: 44.02 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.498/9.95, allocations: 15 kB / 0.5544 GB, free: 44.01 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 & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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