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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 207.9 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.457/1.457, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1999/0.1999, allocations: 38.55 MB / 352.5 MB, free: 12.42 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002475/0.002475, allocations: 70.41 kB / 492.5 MB, free: 4.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3445, allocations: 62.47 MB / 0.5419 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.01178/0.3563, allocations: 7.691 MB / 0.5494 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006944/0.3633, allocations: 2.833 MB / 0.5522 GB, free: 8.168 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.3643, allocations: 42.97 kB / 0.5523 GB, free: 8.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002741/0.367, allocations: 0.8669 MB / 0.5531 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003184/0.3702, allocations: 0.9222 MB / 0.554 GB, free: 6.762 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.3723, allocations: 0.6444 MB / 0.5546 GB, free: 6.297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003224/0.3756, allocations: 1.95 MB / 0.5565 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.3767, allocations: 0.5475 MB / 0.5571 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001791/0.3784, allocations: 0.8601 MB / 0.5579 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00228/0.3807, allocations: 1.164 MB / 0.559 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004174/0.3811, allocations: 112 kB / 0.5592 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001752/0.3829, allocations: 0.5655 MB / 0.5597 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0012/0.3841, allocations: 0.8104 MB / 0.5605 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001323/0.3854, allocations: 0.6261 MB / 0.5611 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0033/0.3887, allocations: 2.047 MB / 0.5631 GB, free: 14.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3887, allocations: 0 / 0.5631 GB, free: 14.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.3887, allocations: 0 / 0.5631 GB, free: 14.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.256e-05/0.3888, allocations: 0 / 0.5631 GB, free: 14.54 MB / 414.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.004405/0.3932, allocations: 1.637 MB / 0.5647 GB, free: 12.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.3933, allocations: 11.98 kB / 0.5647 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003347/0.3936, allocations: 219.6 kB / 0.5649 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002334/0.3959, allocations: 399.5 kB / 0.5653 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002148/0.3981, allocations: 0.8428 MB / 0.5661 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.864e-05/0.3982, allocations: 86.8 kB / 0.5662 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003962/0.3986, allocations: 151.8 kB / 0.5664 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003372/0.402, allocations: 2.084 MB / 0.5684 GB, free: 8.875 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.233e-05/0.402, allocations: 7.938 kB / 0.5684 GB, free: 8.867 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/0.4021, allocations: 47.98 kB / 0.5684 GB, free: 8.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004883/0.4026, allocations: 182.5 kB / 0.5686 GB, free: 8.641 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002959/0.4056, allocations: 1.673 MB / 0.5703 GB, free: 6.961 MB / 414.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.01238/0.4179, allocations: 8.78 MB / 0.5788 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.4192, allocations: 0.6904 MB / 0.5795 GB, free: 12.99 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006439/0.4199, allocations: 407.5 kB / 0.5799 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.937e-05/0.4199, allocations: 12.66 kB / 0.5799 GB, free: 12.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.516e-05/0.42, allocations: 51.2 kB / 0.58 GB, free: 12.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 3.076e-06/0.42, allocations: 0 / 0.58 GB, free: 12.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=85): time 0.005474/0.4255, allocations: 2.762 MB / 0.5827 GB, free: 9.719 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.852e-05/0.4255, allocations: 86.11 kB / 0.5827 GB, free: 9.613 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.4266, allocations: 0.7853 MB / 0.5835 GB, free: 8.816 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.245e-05/0.4266, allocations: 41.7 kB / 0.5835 GB, free: 8.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005703/0.4272, allocations: 0.7295 MB / 0.5843 GB, free: 8.031 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000288/0.4275, allocations: 321.4 kB / 0.5846 GB, free: 7.715 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003602/0.4279, allocations: 259.4 kB / 0.5848 GB, free: 7.453 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002447/0.4281, allocations: 402.7 kB / 0.5852 GB, free: 7.051 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007564/0.4289, allocations: 455.7 kB / 0.5856 GB, free: 6.605 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001324/0.4302, allocations: 1.014 MB / 0.5866 GB, free: 5.336 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002269/0.4325, allocations: 1.61 MB / 0.5882 GB, free: 3.465 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/0.4325, allocations: 7.938 kB / 0.5882 GB, free: 3.457 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003752/0.4362, allocations: 1.939 MB / 0.5901 GB, free: 1.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.426e-05/0.4363, allocations: 18.72 kB / 0.5901 GB, free: 1.484 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002391/0.4386, allocations: 1.187 MB / 0.5913 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001436/0.4401, allocations: 445.2 kB / 0.5917 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008986/0.441, allocations: 255.6 kB / 0.5919 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008175/0.4492, allocations: 5.639 MB / 0.5974 GB, free: 9.746 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008274/0.45, allocations: 59.98 kB / 0.5975 GB, free: 9.688 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.4501, allocations: 67.98 kB / 0.5976 GB, free: 9.621 MB / 446.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.0007547/0.4508, allocations: 465.1 kB / 0.598 GB, free: 9.156 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/0.451, allocations: 99.39 kB / 0.5981 GB, free: 9.059 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002275/0.4533, allocations: 1.158 MB / 0.5992 GB, free: 7.879 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.4533, allocations: 8 kB / 0.5992 GB, free: 7.871 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.4533, allocations: 0 / 0.5992 GB, free: 7.871 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.4533, allocations: 7.984 kB / 0.5992 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004127/0.4574, allocations: 2.161 MB / 0.6014 GB, free: 5.629 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.4574, allocations: 4 kB / 0.6014 GB, free: 5.625 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000565/0.458, allocations: 123.9 kB / 0.6015 GB, free: 5.504 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005781/0.4586, allocations: 194.3 kB / 0.6017 GB, free: 5.305 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-05/0.4586, allocations: 32.09 kB / 0.6017 GB, free: 5.273 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004549/0.4632, allocations: 4.635 MB / 0.6062 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.4632, allocations: 192 / 0.6062 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002854/0.4661, allocations: 1.624 MB / 0.6078 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004704/0.4665, allocations: 147.4 kB / 0.6079 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.4666, allocations: 27.92 kB / 0.608 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.467, allocations: 23.98 kB / 0.608 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.4672, allocations: 60.53 kB / 0.6081 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.662e-05/0.4672, allocations: 27.98 kB / 0.6081 GB, free: 14.34 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007004/0.4679, allocations: 499 kB / 0.6086 GB, free: 13.85 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4679, allocations: 0 / 0.6086 GB, free: 13.85 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001233/0.4692, allocations: 324 kB / 0.6089 GB, free: 13.54 MB / 462.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.00314/0.4723, allocations: 2.195 MB / 0.611 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002998/0.4753, allocations: 1.499 MB / 0.6125 GB, free: 9.766 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.4753, allocations: 5.938 kB / 0.6125 GB, free: 9.762 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001507/0.4768, allocations: 0.7965 MB / 0.6133 GB, free: 8.922 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000984/0.4778, allocations: 174.6 kB / 0.6134 GB, free: 8.75 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01873/0.4965, allocations: 10.53 MB / 0.6237 GB, free: 13.53 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/0.4976, allocations: 0.7288 MB / 0.6244 GB, free: 12.77 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001016/0.4986, allocations: 364.5 kB / 0.6248 GB, free: 12.41 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006245/0.4993, allocations: 463.3 kB / 0.6252 GB, free: 11.96 MB / 478.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4993, allocations: 0 / 0.6252 GB, free: 11.96 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07194/0.5712, allocations: 22.58 MB / 0.6473 GB, free: 5.676 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/12.96, allocations: 10.23 kB / 0.6473 GB, free: 5.672 MB / 494.1 MB " [Timeout remaining time 647] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.022262556944042]