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.001633/0.001633, allocations: 113.2 kB / 17.06 MB, free: 5.82 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.00205/0.00205, allocations: 198.9 kB / 18.01 MB, free: 4.949 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.384/1.384, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1758/0.1758, allocations: 38.03 MB / 329.9 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 59.91 kB / 457.6 MB, free: 7.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3244, allocations: 58.05 MB / 0.5036 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.007751/0.3322, allocations: 8.177 MB / 0.5116 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004897/0.3371, allocations: 2.97 MB / 0.5145 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006302/0.3378, allocations: 30.94 kB / 0.5145 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002512/0.3404, allocations: 0.885 MB / 0.5154 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002409/0.3428, allocations: 0.9028 MB / 0.5163 GB, free: 14.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002104/0.3449, allocations: 0.6333 MB / 0.5169 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003044/0.348, allocations: 1.949 MB / 0.5188 GB, free: 13.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001151/0.3491, allocations: 0.6606 MB / 0.5194 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001564/0.3507, allocations: 0.8299 MB / 0.5202 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001632/0.3523, allocations: 1.103 MB / 0.5213 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002215/0.3526, allocations: 110.8 kB / 0.5214 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00119/0.3538, allocations: 0.5405 MB / 0.522 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008296/0.3546, allocations: 0.7838 MB / 0.5227 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000896/0.3555, allocations: 0.7572 MB / 0.5235 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002361/0.3579, allocations: 2.007 MB / 0.5254 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3579, allocations: 0.6562 kB / 0.5254 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3579, allocations: 0 / 0.5254 GB, free: 10.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.672e-05/0.358, allocations: 0 / 0.5254 GB, free: 10.91 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.003117/0.3611, allocations: 1.666 MB / 0.527 GB, free: 9.848 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.3611, allocations: 14.38 kB / 0.5271 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002704/0.3614, allocations: 215.6 kB / 0.5273 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/0.3631, allocations: 279.5 kB / 0.5275 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001925/0.365, allocations: 0.9081 MB / 0.5284 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.962e-05/0.3651, allocations: 96.66 kB / 0.5285 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003422/0.3655, allocations: 157.3 kB / 0.5287 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002958/0.3684, allocations: 2.078 MB / 0.5307 GB, free: 7.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.135e-05/0.3685, allocations: 11.48 kB / 0.5307 GB, free: 7.562 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/0.3686, allocations: 57.7 kB / 0.5308 GB, free: 7.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004568/0.3691, allocations: 181.3 kB / 0.5309 GB, free: 7.461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002682/0.3718, allocations: 1.676 MB / 0.5326 GB, free: 6.664 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.01089/0.3827, allocations: 9.36 MB / 0.5417 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.3839, allocations: 0.8908 MB / 0.5426 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006009/0.3845, allocations: 444.2 kB / 0.543 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.616e-05/0.3845, allocations: 18.25 kB / 0.543 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.3846, allocations: 43.34 kB / 0.5431 GB, free: 13.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=81): time 3.035e-06/0.3846, allocations: 0 / 0.5431 GB, free: 13.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=85): time 0.005258/0.3899, allocations: 3.044 MB / 0.546 GB, free: 11.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.3899, allocations: 86.52 kB / 0.5461 GB, free: 11.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.391, allocations: 0.7554 MB / 0.5469 GB, free: 11.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.603e-05/0.3911, allocations: 41.45 kB / 0.5469 GB, free: 11.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004405/0.3915, allocations: 0.6983 MB / 0.5476 GB, free: 10.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/0.3918, allocations: 311.7 kB / 0.5479 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003314/0.3921, allocations: 255.3 kB / 0.5481 GB, free: 10.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.3923, allocations: 410.8 kB / 0.5485 GB, free: 9.668 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006478/0.3929, allocations: 451.7 kB / 0.5489 GB, free: 9.227 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009774/0.3939, allocations: 1.014 MB / 0.5499 GB, free: 7.953 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001806/0.3958, allocations: 1.61 MB / 0.5515 GB, free: 6.074 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.154e-05/0.3958, allocations: 8 kB / 0.5515 GB, free: 6.066 MB / 414.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003399/0.3992, allocations: 1.95 MB / 0.5534 GB, free: 4.105 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/0.3992, allocations: 24.19 kB / 0.5534 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002206/0.4014, allocations: 1.195 MB / 0.5546 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001332/0.4028, allocations: 451.4 kB / 0.555 GB, free: 2.438 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008263/0.4036, allocations: 259.6 kB / 0.5553 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007047/0.4107, allocations: 5.901 MB / 0.561 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000859/0.4116, allocations: 56.03 kB / 0.5611 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/0.4117, allocations: 75.98 kB / 0.5612 GB, free: 11.88 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.0008047/0.4125, allocations: 465.1 kB / 0.5616 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/0.4127, allocations: 86.88 kB / 0.5617 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002201/0.4149, allocations: 1.384 MB / 0.563 GB, free: 9.867 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.415, allocations: 8 kB / 0.5631 GB, free: 9.859 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.415, allocations: 0 / 0.5631 GB, free: 9.859 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.415, allocations: 11.92 kB / 0.5631 GB, free: 9.848 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004021/0.419, allocations: 2.496 MB / 0.5655 GB, free: 7.215 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.419, allocations: 0 / 0.5655 GB, free: 7.215 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005512/0.4196, allocations: 131.8 kB / 0.5656 GB, free: 7.086 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005289/0.4201, allocations: 190.4 kB / 0.5658 GB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.425e-05/0.4202, allocations: 23.98 kB / 0.5658 GB, free: 6.867 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003865/0.4241, allocations: 4.949 MB / 0.5707 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.4241, allocations: 0 / 0.5707 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002596/0.4267, allocations: 1.857 MB / 0.5725 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005053/0.4272, allocations: 227.9 kB / 0.5727 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.4274, allocations: 23.94 kB / 0.5727 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004762/0.4279, allocations: 27.97 kB / 0.5727 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.428, allocations: 52.58 kB / 0.5728 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.169e-05/0.4281, allocations: 31.98 kB / 0.5728 GB, free: 15.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007124/0.4288, allocations: 0.4911 MB / 0.5733 GB, free: 14.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4288, allocations: 4 kB / 0.5733 GB, free: 14.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001446/0.4303, allocations: 320 kB / 0.5736 GB, free: 14.37 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.002725/0.433, allocations: 2.428 MB / 0.576 GB, free: 11.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002597/0.4356, allocations: 1.544 MB / 0.5775 GB, free: 10.26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.4356, allocations: 0.625 kB / 0.5775 GB, free: 10.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001333/0.437, allocations: 0.8393 MB / 0.5783 GB, free: 9.383 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.438, allocations: 180.2 kB / 0.5785 GB, free: 9.211 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01577/0.4538, allocations: 10.5 MB / 0.5887 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/0.4549, allocations: 1.321 MB / 0.59 GB, free: 12.66 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008611/0.4557, allocations: 368.5 kB / 0.5904 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006402/0.4564, allocations: 455.3 kB / 0.5908 GB, free: 11.85 MB / 462.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4564, allocations: 0 / 0.5908 GB, free: 11.85 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05347/0.5099, allocations: 21.66 MB / 0.612 GB, free: 6.422 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.53, allocations: 3.938 kB / 0.612 GB, free: 6.418 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