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.001905/0.001905, allocations: 110.5 kB / 17.06 MB, free: 5.941 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.002153/0.002153, allocations: 200 kB / 18.01 MB, free: 5.031 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.476/1.476, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1822/0.1822, allocations: 38.04 MB / 329.9 MB, free: 8.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 67.88 kB / 457.7 MB, free: 7.324 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3759, allocations: 58.05 MB / 0.5036 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.00795/0.3839, allocations: 8.162 MB / 0.5116 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005077/0.3891, allocations: 2.975 MB / 0.5145 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000588/0.3897, allocations: 30.97 kB / 0.5145 GB, free: 15.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002295/0.392, allocations: 0.888 MB / 0.5154 GB, free: 15.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002409/0.3945, allocations: 0.9073 MB / 0.5163 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001837/0.3963, allocations: 0.6333 MB / 0.5169 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003386/0.3997, allocations: 1.945 MB / 0.5188 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001453/0.4012, allocations: 0.6579 MB / 0.5194 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002095/0.4033, allocations: 0.8169 MB / 0.5202 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001948/0.4053, allocations: 1.108 MB / 0.5213 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002873/0.4056, allocations: 112.1 kB / 0.5214 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001573/0.4071, allocations: 0.5362 MB / 0.522 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00102/0.4082, allocations: 0.7793 MB / 0.5227 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001051/0.4092, allocations: 0.7615 MB / 0.5235 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003166/0.4124, allocations: 2.017 MB / 0.5254 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.4124, allocations: 0 / 0.5254 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4124, allocations: 1.25 kB / 0.5254 GB, free: 10.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.047e-05/0.4125, allocations: 0 / 0.5254 GB, free: 10.95 MB / 398.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.003747/0.4163, allocations: 1.703 MB / 0.5271 GB, free: 9.855 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.4163, allocations: 15.22 kB / 0.5271 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003038/0.4166, allocations: 214.2 kB / 0.5273 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001705/0.4183, allocations: 285.3 kB / 0.5276 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/0.4201, allocations: 0.9153 MB / 0.5285 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-05/0.4202, allocations: 99.22 kB / 0.5286 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003465/0.4206, allocations: 153.7 kB / 0.5287 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003056/0.4236, allocations: 2.085 MB / 0.5308 GB, free: 7.578 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.357e-05/0.4237, allocations: 12.77 kB / 0.5308 GB, free: 7.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/0.4238, allocations: 57.33 kB / 0.5308 GB, free: 7.527 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004381/0.4243, allocations: 173 kB / 0.531 GB, free: 7.477 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002654/0.4269, allocations: 1.68 MB / 0.5326 GB, free: 6.676 MB / 398.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.01093/0.4379, allocations: 9.374 MB / 0.5418 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.4391, allocations: 0.8897 MB / 0.5426 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000608/0.4398, allocations: 449.1 kB / 0.5431 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.351e-05/0.4398, allocations: 13.33 kB / 0.5431 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.4399, allocations: 47.44 kB / 0.5431 GB, free: 13.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=81): time 2.986e-06/0.4399, allocations: 0 / 0.5431 GB, free: 13.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=85): time 0.005132/0.445, allocations: 3.068 MB / 0.5461 GB, free: 11.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.4451, allocations: 92.16 kB / 0.5462 GB, free: 11.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009351/0.446, allocations: 0.7573 MB / 0.547 GB, free: 11.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.969e-05/0.4461, allocations: 37.7 kB / 0.547 GB, free: 11.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005131/0.4466, allocations: 0.7294 MB / 0.5477 GB, free: 10.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002498/0.4469, allocations: 317.4 kB / 0.548 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003516/0.4473, allocations: 263.4 kB / 0.5483 GB, free: 9.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002046/0.4475, allocations: 406.8 kB / 0.5486 GB, free: 9.504 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006799/0.4482, allocations: 455.7 kB / 0.5491 GB, free: 9.059 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.4493, allocations: 1.01 MB / 0.5501 GB, free: 7.789 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002002/0.4513, allocations: 1.61 MB / 0.5516 GB, free: 5.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.4513, allocations: 4 kB / 0.5516 GB, free: 5.906 MB / 414.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003564/0.4549, allocations: 1.966 MB / 0.5536 GB, free: 3.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/0.4549, allocations: 12.19 kB / 0.5536 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002301/0.4572, allocations: 1.206 MB / 0.5548 GB, free: 2.707 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/0.4587, allocations: 447.5 kB / 0.5552 GB, free: 2.266 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008851/0.4596, allocations: 267.5 kB / 0.5554 GB, free: 2.004 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007705/0.4673, allocations: 5.89 MB / 0.5612 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009586/0.4683, allocations: 63.97 kB / 0.5613 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.4684, allocations: 72 kB / 0.5613 GB, free: 11.7 MB / 430.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.0009415/0.4693, allocations: 465.1 kB / 0.5618 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001919/0.4695, allocations: 95.39 kB / 0.5619 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002423/0.472, allocations: 1.384 MB / 0.5632 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.472, allocations: 8 kB / 0.5632 GB, free: 9.672 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.472, allocations: 0 / 0.5632 GB, free: 9.672 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.472, allocations: 7.922 kB / 0.5632 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004251/0.4763, allocations: 2.493 MB / 0.5657 GB, free: 7.039 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.4763, allocations: 3.938 kB / 0.5657 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005627/0.4769, allocations: 131.8 kB / 0.5658 GB, free: 6.906 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005559/0.4774, allocations: 190.5 kB / 0.566 GB, free: 6.711 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.798e-05/0.4775, allocations: 27.98 kB / 0.566 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004555/0.4821, allocations: 4.957 MB / 0.5708 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.4821, allocations: 0 / 0.5708 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002803/0.4849, allocations: 1.858 MB / 0.5726 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004472/0.4854, allocations: 228.5 kB / 0.5729 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.4855, allocations: 27.92 kB / 0.5729 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000377/0.4859, allocations: 23.98 kB / 0.5729 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.486, allocations: 60.5 kB / 0.573 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-05/0.4861, allocations: 28 kB / 0.573 GB, free: 14.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006815/0.4868, allocations: 0.4912 MB / 0.5735 GB, free: 14.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4868, allocations: 0 / 0.5735 GB, free: 14.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001272/0.4881, allocations: 324 kB / 0.5738 GB, free: 14.17 MB / 446.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.002925/0.491, allocations: 2.425 MB / 0.5762 GB, free: 11.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00277/0.4938, allocations: 1.552 MB / 0.5777 GB, free: 10.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.565e-06/0.4938, allocations: 0 / 0.5777 GB, free: 10.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001449/0.4953, allocations: 0.8439 MB / 0.5785 GB, free: 9.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009038/0.4962, allocations: 178.5 kB / 0.5787 GB, free: 9.016 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01639/0.5126, allocations: 10.56 MB / 0.589 GB, free: 13.76 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/0.5138, allocations: 1.317 MB / 0.5903 GB, free: 12.41 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008851/0.5147, allocations: 368.5 kB / 0.5906 GB, free: 12.04 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006144/0.5154, allocations: 459.2 kB / 0.5911 GB, free: 11.59 MB / 462.1 MB Notification: Performance of SimCode: time 7.82e-07/0.5154, allocations: 0 / 0.5911 GB, free: 11.59 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06193/0.5773, allocations: 21.32 MB / 0.6119 GB, free: 6.504 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.13, allocations: 18.56 kB / 0.6119 GB, free: 6.488 MB / 478.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