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.001733/0.001733, allocations: 112.2 kB / 21.22 MB, free: 0.7461 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.001463/0.001463, allocations: 210.1 kB / 24.53 MB, free: 4.148 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.519/1.519, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.1886/0.1886, allocations: 38.53 MB / 353.2 MB, free: 12.62 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding",fmuType="cs",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.002018/0.002018, allocations: 70.81 kB / 493.3 MB, free: 4.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3494, allocations: 62.47 MB / 0.5428 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.01051/0.3599, allocations: 8.373 MB / 0.5509 GB, free: 9.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006023/0.3659, allocations: 3.06 MB / 0.5539 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000736/0.3666, allocations: 38.53 kB / 0.554 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002522/0.3692, allocations: 0.9183 MB / 0.5549 GB, free: 6.625 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002341/0.3715, allocations: 0.9173 MB / 0.5558 GB, free: 5.902 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001796/0.3733, allocations: 0.6475 MB / 0.5564 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002627/0.3759, allocations: 1.95 MB / 0.5583 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009047/0.3768, allocations: 0.5491 MB / 0.5588 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00155/0.3784, allocations: 0.8441 MB / 0.5597 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001798/0.3802, allocations: 1.211 MB / 0.5608 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001894/0.3804, allocations: 115.9 kB / 0.561 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001231/0.3816, allocations: 0.6123 MB / 0.5616 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008142/0.3824, allocations: 0.8026 MB / 0.5623 GB, free: 416 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008633/0.3833, allocations: 0.7541 MB / 0.5631 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00253/0.3858, allocations: 2.031 MB / 0.5651 GB, free: 13.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3858, allocations: 0 / 0.5651 GB, free: 13.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3858, allocations: 0 / 0.5651 GB, free: 13.61 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.273e-05/0.3858, allocations: 0 / 0.5651 GB, free: 13.61 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.00324/0.3891, allocations: 1.645 MB / 0.5667 GB, free: 11.92 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.3891, allocations: 15.98 kB / 0.5667 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.745e-05/0.3892, allocations: 42.61 kB / 0.5667 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002662/0.3894, allocations: 215.6 kB / 0.5669 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00226/0.3917, allocations: 395.5 kB / 0.5673 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/0.3935, allocations: 0.8351 MB / 0.5681 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.879e-05/0.3936, allocations: 94.53 kB / 0.5682 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003412/0.3939, allocations: 147.9 kB / 0.5683 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00321/0.3971, allocations: 2.088 MB / 0.5704 GB, free: 7.902 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.348e-05/0.3972, allocations: 7.938 kB / 0.5704 GB, free: 7.895 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/0.3973, allocations: 47.98 kB / 0.5704 GB, free: 7.848 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004529/0.3978, allocations: 178.5 kB / 0.5706 GB, free: 7.672 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002825/0.4006, allocations: 1.68 MB / 0.5722 GB, free: 5.984 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.01202/0.4126, allocations: 9.231 MB / 0.5813 GB, free: 12.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.4138, allocations: 0.7014 MB / 0.5819 GB, free: 11.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006209/0.4145, allocations: 403.5 kB / 0.5823 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.888e-05/0.4145, allocations: 12.66 kB / 0.5823 GB, free: 11.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.05e-05/0.4146, allocations: 47.14 kB / 0.5824 GB, free: 11.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.835e-06/0.4146, allocations: 4 kB / 0.5824 GB, free: 11.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=85): time 0.005399/0.42, allocations: 2.759 MB / 0.5851 GB, free: 8.246 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.765e-05/0.42, allocations: 86.11 kB / 0.5852 GB, free: 8.141 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.4212, allocations: 0.7505 MB / 0.5859 GB, free: 7.379 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.032e-05/0.4212, allocations: 41.7 kB / 0.5859 GB, free: 7.332 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006014/0.4218, allocations: 0.7255 MB / 0.5867 GB, free: 6.598 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000309/0.4222, allocations: 325.3 kB / 0.587 GB, free: 6.277 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003649/0.4225, allocations: 259.5 kB / 0.5872 GB, free: 6.016 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002283/0.4228, allocations: 402.7 kB / 0.5876 GB, free: 5.613 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007323/0.4235, allocations: 455.7 kB / 0.588 GB, free: 5.168 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/0.4247, allocations: 1.018 MB / 0.589 GB, free: 3.895 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002146/0.4269, allocations: 1.61 MB / 0.5906 GB, free: 2.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-05/0.4269, allocations: 8 kB / 0.5906 GB, free: 2.012 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003763/0.4307, allocations: 1.947 MB / 0.5925 GB, free: 52 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.4307, allocations: 18.59 kB / 0.5925 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002354/0.433, allocations: 1.175 MB / 0.5937 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001381/0.4344, allocations: 449.2 kB / 0.5941 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008795/0.4353, allocations: 259.5 kB / 0.5943 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008044/0.4433, allocations: 5.692 MB / 0.5999 GB, free: 8.242 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009168/0.4443, allocations: 59.98 kB / 0.6 GB, free: 8.184 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/0.4444, allocations: 68 kB / 0.6 GB, free: 8.117 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.0007854/0.4452, allocations: 469.1 kB / 0.6005 GB, free: 7.648 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/0.4453, allocations: 99.31 kB / 0.6006 GB, free: 7.551 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002362/0.4477, allocations: 1.149 MB / 0.6017 GB, free: 6.383 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.4477, allocations: 8 kB / 0.6017 GB, free: 6.375 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.4477, allocations: 7.938 kB / 0.6017 GB, free: 6.367 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.4477, allocations: 3.984 kB / 0.6017 GB, free: 6.363 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004192/0.4519, allocations: 2.227 MB / 0.6039 GB, free: 4.062 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.4519, allocations: 4 kB / 0.6039 GB, free: 4.059 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006631/0.4526, allocations: 135.7 kB / 0.604 GB, free: 3.926 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005531/0.4532, allocations: 186.5 kB / 0.6042 GB, free: 3.734 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-05/0.4532, allocations: 23.98 kB / 0.6042 GB, free: 3.711 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004529/0.4577, allocations: 4.646 MB / 0.6088 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.4578, allocations: 0 / 0.6088 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002812/0.4606, allocations: 1.624 MB / 0.6103 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004362/0.461, allocations: 151.5 kB / 0.6105 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.4611, allocations: 32.12 kB / 0.6105 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004001/0.4615, allocations: 27.97 kB / 0.6105 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.4617, allocations: 68.45 kB / 0.6106 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.472e-05/0.4617, allocations: 24 kB / 0.6106 GB, free: 12.76 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006724/0.4624, allocations: 0.4951 MB / 0.6111 GB, free: 12.27 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4624, allocations: 0 / 0.6111 GB, free: 12.27 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001419/0.4638, allocations: 320 kB / 0.6114 GB, free: 11.95 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.003193/0.467, allocations: 2.187 MB / 0.6136 GB, free: 9.711 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003022/0.47, allocations: 1.493 MB / 0.615 GB, free: 8.195 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.47, allocations: 0 / 0.615 GB, free: 8.195 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00159/0.4716, allocations: 0.8081 MB / 0.6158 GB, free: 7.344 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.4727, allocations: 178.3 kB / 0.616 GB, free: 7.172 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01685/0.4896, allocations: 10.54 MB / 0.6263 GB, free: 11.95 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/0.4907, allocations: 1.313 MB / 0.6275 GB, free: 10.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009381/0.4916, allocations: 368.5 kB / 0.6279 GB, free: 10.24 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006386/0.4923, allocations: 455.3 kB / 0.6283 GB, free: 9.793 MB / 478.1 MB Notification: Performance of SimCode: time 1.322e-06/0.4923, allocations: 0 / 0.6283 GB, free: 9.793 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06438/0.5567, allocations: 22.68 MB / 0.6505 GB, free: 3.32 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/14.08, allocations: 4.062 kB / 0.6505 GB, free: 3.316 MB / 494.1 MB " [Timeout remaining time 646] (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: 17.434020788001362]