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.001171/0.001172, allocations: 107.3 kB / 16.92 MB, free: 6.145 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.001362/0.001362, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.289/1.289, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1765/0.1765, allocations: 38.03 MB / 329.7 MB, free: 8.844 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 62.56 kB / 398.9 MB, free: 33.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08911/0.09031, allocations: 58.06 MB / 457 MB, free: 7.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.008863/0.09922, allocations: 8.158 MB / 465.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004669/0.1039, allocations: 2.977 MB / 468.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006165/0.1046, allocations: 31.81 kB / 468.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002456/0.107, allocations: 0.8884 MB / 469 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002261/0.1093, allocations: 0.9104 MB / 469.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.1109, allocations: 0.6314 MB / 470.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002184/0.1131, allocations: 1.958 MB / 472.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009368/0.1141, allocations: 0.6499 MB / 473.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001282/0.1154, allocations: 0.8251 MB / 474 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.117, allocations: 1.106 MB / 475.1 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002727/0.1172, allocations: 112 kB / 475.2 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.1183, allocations: 0.5383 MB / 475.7 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007177/0.119, allocations: 0.7794 MB / 476.5 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009769/0.12, allocations: 0.7619 MB / 477.3 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001953/0.122, allocations: 1.97 MB / 479.3 MB, free: 1.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.122, allocations: 0 / 479.3 MB, free: 1.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.122, allocations: 0 / 479.3 MB, free: 1.578 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.669e-05/0.1221, allocations: 0 / 479.3 MB, free: 1.578 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.00307/0.1251, allocations: 1.668 MB / 480.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.1252, allocations: 11.89 kB / 480.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002637/0.1255, allocations: 211.6 kB / 481.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001626/0.1271, allocations: 282.9 kB / 481.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.1285, allocations: 0.8637 MB / 482.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.336e-05/0.1286, allocations: 90.78 kB / 482.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003169/0.1289, allocations: 155.8 kB / 482.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002651/0.1316, allocations: 2.084 MB / 484.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.758e-05/0.1316, allocations: 7.938 kB / 484.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.1318, allocations: 59.97 kB / 484.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004208/0.1322, allocations: 178.5 kB / 484.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002446/0.1346, allocations: 1.673 MB / 486.5 MB, free: 10.03 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.0101/0.1448, allocations: 9.415 MB / 495.9 MB, free: 104 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.146, allocations: 0.8835 MB / 496.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006132/0.1466, allocations: 448.4 kB / 497.3 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.245e-05/0.1467, allocations: 20.62 kB / 497.3 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.1468, allocations: 43.16 kB / 497.3 MB, free: 14.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=81): time 3.287e-06/0.1468, allocations: 0 / 497.3 MB, free: 14.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.00498/0.1518, allocations: 3.037 MB / 0.4886 GB, free: 11.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.1518, allocations: 86.11 kB / 0.4887 GB, free: 11.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008421/0.1527, allocations: 0.7543 MB / 0.4895 GB, free: 10.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.28e-05/0.1527, allocations: 37.7 kB / 0.4895 GB, free: 10.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000424/0.1532, allocations: 0.6996 MB / 0.4902 GB, free: 9.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002265/0.1534, allocations: 319.6 kB / 0.4905 GB, free: 9.555 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003275/0.1537, allocations: 259.3 kB / 0.4907 GB, free: 9.297 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.1539, allocations: 398.7 kB / 0.4911 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006598/0.1546, allocations: 455.7 kB / 0.4915 GB, free: 8.453 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009554/0.1555, allocations: 1.018 MB / 0.4925 GB, free: 7.176 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001829/0.1574, allocations: 1.602 MB / 0.4941 GB, free: 5.309 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.158e-05/0.1574, allocations: 4 kB / 0.4941 GB, free: 5.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003382/0.1608, allocations: 1.966 MB / 0.496 GB, free: 3.324 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.1608, allocations: 12 kB / 0.496 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002067/0.1629, allocations: 1.203 MB / 0.4972 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001327/0.1643, allocations: 464 kB / 0.4976 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007959/0.1651, allocations: 259.5 kB / 0.4979 GB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007032/0.1721, allocations: 5.891 MB / 0.5036 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008549/0.173, allocations: 63.89 kB / 0.5037 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/0.1731, allocations: 64 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.0007637/0.1739, allocations: 475.5 kB / 0.5042 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.1741, allocations: 94.97 kB / 0.5043 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002133/0.1762, allocations: 1.38 MB / 0.5057 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.1763, allocations: 12 kB / 0.5057 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.1763, allocations: 4 kB / 0.5057 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.1763, allocations: 3.984 kB / 0.5057 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003572/0.1799, allocations: 2.493 MB / 0.5081 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.1799, allocations: 0 / 0.5081 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005255/0.1804, allocations: 131.8 kB / 0.5082 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005396/0.181, allocations: 182.3 kB / 0.5084 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.353e-05/0.181, allocations: 27.98 kB / 0.5084 GB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003547/0.1846, allocations: 4.956 MB / 0.5133 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1846, allocations: 0 / 0.5133 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1679/0.3525, allocations: 1.85 MB / 0.5151 GB, free: 68.33 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003862/0.353, allocations: 226.2 kB / 0.5153 GB, free: 68.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.3531, allocations: 27.94 kB / 0.5153 GB, free: 68.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003693/0.3535, allocations: 25.97 kB / 0.5154 GB, free: 68.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.3536, allocations: 57.52 kB / 0.5154 GB, free: 68.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.048e-05/0.3537, allocations: 27.08 kB / 0.5154 GB, free: 68.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006338/0.3543, allocations: 0.4892 MB / 0.5159 GB, free: 68.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3543, allocations: 2.906 kB / 0.5159 GB, free: 68.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00109/0.3554, allocations: 329.2 kB / 0.5162 GB, free: 68.14 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.00232/0.3577, allocations: 2.419 MB / 0.5186 GB, free: 67.12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003071/0.3608, allocations: 1.833 MB / 0.5204 GB, free: 66.81 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/0.3608, allocations: 1.062 kB / 0.5204 GB, free: 66.81 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.3621, allocations: 0.8399 MB / 0.5212 GB, free: 66.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000894/0.363, allocations: 169.9 kB / 0.5214 GB, free: 66.29 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01376/0.3768, allocations: 10.8 MB / 0.5319 GB, free: 60.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008606/0.3777, allocations: 1.322 MB / 0.5332 GB, free: 59.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009592/0.3787, allocations: 363.9 kB / 0.5336 GB, free: 59.38 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004308/0.3791, allocations: 459.5 kB / 0.534 GB, free: 59.02 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3791, allocations: 0 / 0.534 GB, free: 59.02 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04137/0.4205, allocations: 20.92 MB / 0.5544 GB, free: 43.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.126/9.547, allocations: 23.88 kB / 0.5544 GB, free: 43.89 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